Rob Lahaye wrote:
> OK, got something here.
> 
> I copied (more or less) the compile line as it appears in the gmake
> process. And then I found that the following fails:
> 
> $ cat test.C
> #include <boost/regex/config.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 boost/boost/regex/config.hpp:54,
>                   from test.C:1:
> boost/boost/cstdint.hpp:121: error: redeclaration of C++ built-in
> type `long'
> 
> -------------------------
> 
> *HOWEVER*:
> when I remove   -DBOOST_USER_CONFIG="<config.h>"   from this line,
> it compiles without error!!!
> 
> Does that ring a bell?
> Do you need to know what I have in src/config.h ?

Why not post it...

-- 
Angus

Reply via email to