Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2003-08-01 05:36:25

> I am trying to use the boost::function library which in turn includes
> 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
> 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

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

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at