
27 Oct
2009
27 Oct
'09
9:52 p.m.
John Maddock wrote:
It is also possible to suppress this warning by a command line switch -Wno-long-long
Sure, but we need to fix the *library header file* so it doesn't emit warnings even when the user has asked for those warnings: we do this already for long long usage within Boost, but I can't find a workaround for constants with LL suffixes.
Hmm, it may even look like violation of the Boost guideline: "Don't declare integral constant expressions whose type is wider than int." http://www.boost.org/development/int_const_guidelines.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org