[phc-general] build failure on OSX
Paul Biggar
paul.biggar at gmail.com
Fri Aug 1 15:51:46 IST 2008
Hi Tim,
> src/lib/demangle.cpp: In function 'const char* demangle(Object*, bool)':
> src/lib/demangle.cpp:21: error: 'strchr' was not declared in this scope
I'm perplexed. strchr is declared by string.h, which is already
included in demangle.cpp. Are you sure #include "string.h" still
appears at the top of demangle.cpp?
I got access to a darwin machine, and phc compiled using
Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007;
root:xnu-792.25.20~1/RELEASE_I386 i386 i386
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)
without any problems. I can get access to gcc 4.3.1, so I'll try that
once it compiles.
Thanks,
Paul
--
Paul Biggar
paul.biggar at gmail.com
More information about the phc-general
mailing list