16 Jul
2002
16 Jul
'02
1:11 p.m.
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