Boost C++ Libraries: Ticket #3621: warnings emited when highest level warning set https://svn.boost.org/trac10/ticket/3621 <p> ..\..\../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 </p> <p> Note: I'm not sure who to assign this to so feel free to pass it on. </p> <p> The compiler is gcc 4.2.3. This warning inhibits serialization library from being used at the highest warning level. </p> <p> Robert Ramey </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3621 Trac 1.4.3 Dean Michael Berris Thu, 26 Nov 2009 20:07:47 GMT cc set https://svn.boost.org/trac10/ticket/3621#comment:1 https://svn.boost.org/trac10/ticket/3621#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">mikhailberis@…</span> added </li> </ul> <p> I've been trying to inhibit the warnings using GCC diagnostic pragmas in the form of: </p> <pre class="wiki">#if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wlong-long" #endif </pre><p> 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: </p> <p> <a class="ext-link" href="http://old.nabble.com/-PATCH--RFC:-Enabling--W-no--error%3D...-for-cpplib-warnings-td26068513.html"><span class="icon">​</span>http://old.nabble.com/-PATCH--RFC:-Enabling--W-no--error%3D...-for-cpplib-warnings-td26068513.html</a> </p> <p> This means it cannot be solved by using compiler-specific (GCC) pragmas even with GCC 4.4.x. </p> Ticket Marshall Clow Sun, 06 Jun 2010 15:19:11 GMT owner, component, milestone changed https://svn.boost.org/trac10/ticket/3621#comment:2 https://svn.boost.org/trac10/ticket/3621#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Daryle Walker</span> to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">type_traits</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.41.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket anonymous Sun, 06 Jun 2010 16:20:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3621#comment:3 https://svn.boost.org/trac10/ticket/3621#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I believe this one should have been fixed a while back. </p> Ticket