Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-06-23 02:55:58


John Max Skaller wrote:
> Now it doesn't recognize long long constants :->
>
> ----------------------------------------------------
> [root_at_pelican] ~/links/flx>g++ -Wno-long-long -D_GNU_SOURCE -ansi
> -pedantic -Iboost_1_22_0 tmp.cpp
> In file included from tmp.cpp:1:
> boost_1_22_0/boost/cstdint.hpp:149: too many `l's in integer constant
> boost_1_22_0/boost/cstdint.hpp:160: #error defaults not correct; you
> must hand modify boost/cstdint.hpp
> --------------------------------------------------

You're running the compiler with "-ansi -pedantic", thus you
explicitly asked to ban any non-standard construct, such as
"long long" (which is not standard C++). Try removing the
"-ansi -pedantic".

Jens Maurer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk