Boost C++ Libraries: Ticket #1582: BOOST_HAS_LONG_LONG is defined when it shouldn't be https://svn.boost.org/trac10/ticket/1582 <p> One of the units examples is now failing on gcc 3.4.4. </p> <p> I'm compiling with &lt;warnings&gt;all which causes the options -Wall and -pedantic to be passed to the compiler. Apparently, -pedantic disables long long and boost/config/compiler/gcc.hpp fails to detect this. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1582 Trac 1.4.3 John Maddock Mon, 21 Jan 2008 10:11:13 GMT <link>https://svn.boost.org/trac10/ticket/1582#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1582#comment:1</guid> <description> <p> I was under the impression that long long was always supported by gcc, but that it would emit warnings (rather a lot of them actually) if you actually use it under some circumstances. We have the typedef's boost::long_long_type and boost::ulong_long_type in boost/config.hpp which can be used without generation of the warnings. </p> <p> Otherwise what's the test case? </p> <p> Thanks, John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 21 Jan 2008 17:02:57 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1582#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1582#comment:2</guid> <description> <p> Actually, I'm not using long long at all. The error is coming from boost/type_traits/make_signed.hpp </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Mon, 21 Jan 2008 18:12:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1582#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1582#comment:3</guid> <description> <p> Got it: I've just committed a fix to Trunk that allows all the type traits tests (and headers) to build with -Wall -pedantic. </p> <p> Let me know if this fixes things. </p> <p> John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 21 Jan 2008 18:52:24 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1582#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1582#comment:4</guid> <description> <p> Works now. Thanks. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Tue, 22 Jan 2008 09:19:23 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1582#comment:5 https://svn.boost.org/trac10/ticket/1582#comment:5 <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> Ticket