Angus Leeming wrote:
Sigh.
I'd like you to post a minimal, failing program of the form
#define uintmax_t unsigned long long
#include <cstdint.hpp>
int main() { return 0; }
where the #define is taken from your config.h file.
Right, you've got it already. So here we go again:
$ cat test.C
#define uintmax_t unsigned long long
#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 -fno-exceptions \
-W -Wall -c -o test.lo test.C
In file included from test.C:2:
boost/boost/cstdint.hpp:121: error: redeclaration of C++ built-in type `long'
Is this enough, or am I supposed to provide more info?
Please bear with me; I'm still not so sure what I'm doing....don't know
anything about what is happening in the boost stuff, and why this all
of a sudden clashes with the config.h file.
Rob.