BLLIP / bllip-parser

BLLIP reranking parser (also known as Charniak-Johnson parser, Charniak parser, Brown reranking parser) See http://pypi.python.org/pypi/bllipparser/ for Python module.
http://bllip.cs.brown.edu/
227 stars 53 forks source link

g++ compilation error on gcc version 4.5.2 #1

Closed syeedibnfaiz closed 13 years ago

syeedibnfaiz commented 13 years ago

I am getting this error on: [Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux] with [gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ]

tree.h: In constructor ‘tree_node::tree_node(const tree_label::cat_type&, tree_node_, tree_node_)’: tree.h:319:39: error: cannot call constructor ‘tree_label::tree_label’ directly tree.h:319:39: error: for a function-style cast, remove the redundant ‘::tree_label’

dmcc commented 13 years ago

Should be fixed now. Please let me know if you're still getting the error.

syeedibnfaiz commented 13 years ago

It is working now. Thanks!

dmcc commented 13 years ago

Glad it helped and thanks for the report!