Boost logo

Boost Users :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-07-16 08:11:48


On Tuesday 16 July 2002 09:00 am, aegp2002 wrote:
> ../../../boost_1_28_0/boost/cstdint.hpp:202: too many `l's in integer
> constant
> ../../../boost_1_28_0/boost/cstdint.hpp:205: #error defaults not
> correct; you must hand modify boost/cstdint.hpp
> *** Error code 1
>
> Without the -pedantic option everything works fine. As far as I
> understand I cannot use the option anymore for code that references
> BGL #includes. Is this a known problem and is there -- maybe -- a
> workaround?
>
> I'd like to use -pedantic because it helps me write standard
> conformant code.

Have you tried adding -Wno-long-long? The basic problem is that -pedantic
disallows the long long integral types, which are _very_ common extensions in
C++ compilers that we tend to rely on.

        Doug


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net