Angus Leeming wrote:
Rob Lahaye wrote:

So what now happens if you reduce your test case to the more minimal

#include <boost/cstdint.hpp>
int main { return 0; }

where you compile with your 'lyx-style' command line invocation of g++?

$ cat test.C #include <boost/cstdint.hpp> int main () { return 0; }

$ g++33 -DHAVE_CONFIG_H -Iboost/libs/regex/src -Isrc -Iboost \
    -I/usr/local/include -I/usr/X11R6/include -DBOOST_USER_CONFIG="<config.h>" \
    -fno-exceptions -W -Wall -c -o test.lo test.C
In file included from test.C:1:
boost/boost/cstdint.hpp:121: error: redeclaration of C++ built-in type `long'


Once again: removing -DBOOST_USER_CONFIG="<config.h>" from the compile line above, solves the problem.


Does that bring us any closer?

Rob.




Reply via email to