Opened 13 years ago
Closed 12 years ago
#3621 closed Bugs (fixed)
warnings emited when highest level warning set
Reported by: | Robert Ramey | Owned by: | John Maddock |
---|---|---|---|
Milestone: | To Be Determined | Component: | type_traits |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | warnings | Cc: | mikhailberis@… |
Description
..\..\../boost/integer_traits.hpp:164:66: warning: use of C99 long long integer constant ..\..\../boost/integer_traits.hpp:164:77: warning: use of C99 long long integer constant ..\..\../boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant ..\..\../boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant
Note: I'm not sure who to assign this to so feel free to pass it on.
The compiler is gcc 4.2.3. This warning inhibits serialization library from being used at the highest warning level.
Robert Ramey
Change History (3)
comment:1 by , 13 years ago
Cc: | added |
---|
comment:2 by , 12 years ago
Component: | None → type_traits |
---|---|
Milestone: | Boost 1.41.0 → To Be Determined |
Owner: | changed from | to
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I believe this one should have been fixed a while back.
I've been trying to inhibit the warnings using GCC diagnostic pragmas in the form of:
in multiple places where a similar warning occurs (like in Boost.Thread's libs/thread/src/pthread/once.cpp) and apparently it does not work. This seems to be a bug in GCC where there's a pending patch to resolve this issue:
http://old.nabble.com/-PATCH--RFC:-Enabling--W-no--error%3D...-for-cpplib-warnings-td26068513.html
This means it cannot be solved by using compiler-specific (GCC) pragmas even with GCC 4.4.x.