Archived

This topic is now archived and is closed to further replies.

Problem using boost with mingw

This topic is 5026 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m using MinGW Studio 2.05 and when I include boost/random.hpp I get 10 errors:
In file included from C:\boost_1_31_0\boost\random\detail\const_mod.hpp:27,
from C:\boost_1_31_0\boost\random\linear_congruential.hpp:30,
from C:\boost_1_31_0\boost\random.hpp:41,
from main.cpp:4:
C:\boost_1_31_0\boost\integer_traits.hpp:162: error: ISO C++ does not support
`long long''
C:\boost_1_31_0\boost\integer_traits.hpp:163: error: ISO C++ does not support
`long long''
C:\boost_1_31_0\boost\integer_traits.hpp:164: error: ISO C++ does not support
`long long''
In file included from C:\boost_1_31_0\boost\random\detail\const_mod.hpp:27,
from C:\boost_1_31_0\boost\random\linear_congruential.hpp:30,
from C:\boost_1_31_0\boost\random.hpp:41,
from main.cpp:4:
C:\boost_1_31_0\boost\integer_traits.hpp:164:51: use of C99 long long integer constant
C:\boost_1_31_0\boost\integer_traits.hpp:164:62: use of C99 long long integer constant
C:\boost_1_31_0\boost\integer_traits.hpp:168: error: ISO C++ does not support
`long long''
C:\boost_1_31_0\boost\integer_traits.hpp:169: error: ISO C++ does not support
`long long''
C:\boost_1_31_0\boost\integer_traits.hpp:170: error: ISO C++ does not support
`long long''
C:\boost_1_31_0\boost\integer_traits.hpp:170:63: use of C99 long long integer constant
C:\boost_1_31_0\boost\integer_traits.hpp:170:63: use of C99 long long integer constant 
What can I do about it ?

Share this post


Link to post
Share on other sites