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

c++ filenames cause difficulty on Mac OS X #7

Closed croeder closed 12 years ago

croeder commented 12 years ago

Mac OS with the default file system doesn't distinguish foo.c from foo.C and so tries to compile C++ as C generating error messages like this:

make -C first-stage/PARSE parseIt g++ -Wall -O3 -fPIC -c Bchart.C In file included from Term.h:28, from Edge.h:27, from ChartBase.h:27, from Bchart.h:27, from Bchart.C:24: ECString.h:1:112: error: algorithm: No such file or directory ECString.h:2:19: error: cstdlib: No such file or directory ECString.h:3:19: error: cstring: No such file or directory ECString.h:12:18: error: string: No such file or directory

http://stackoverflow.com/questions/10860882/cannot-include-standard-c-libraries-with-mingw

croeder commented 12 years ago

Not a problem with gcc 4.3. The only thing I needed to do to compile that was was take out the malloc.h include from evalb/evalb.c

renaud commented 11 years ago

thanks croeder!