I am trying to use the boost::function library which in turn includes many of the headers from other boost libraries.
I am using g++ 3.2 with: g++ -c -g -fwritable-strings -Wno-deprecated -static -ansi -pedantic -DANSI_HEADERS -D_G_HAVE_BOOL as the options.
The file is_integral.hpp and the file is_convertible.hpp in the type_traits library contain the declarations of the type long long which the ISO C++ seemingly doesn't accept. The compiler gives the warning: ISO C++ does not support `long long' . I don't think there is a new version of this on boost. I downloaded the boost lib sometime in June Version 1.30.0.
Can this problem be because of any of the compiler options that I am using?
Normally gcc supports long long, but you have chosen compiler options that turn that off, I guess we should really check for __STRICT_ANSI__ before enabling long long support? John Maddock