Boost C++ Libraries: Ticket #2496: boost/function/function_fwd.hpp:24:7: warning: "BOOST_STRICT_CONFIG" is not defined https://svn.boost.org/trac10/ticket/2496 <p> happens on boost 1.37.0: </p> <p> # gcc -W -Wall -Wundef -I/home/andyc/work/3rdParty/boost_1_37_0 -c function_fwd_problem.cpp In file included from /home/andyc/work/3rdParty/boost_1_37_0/boost/function/function_base.hpp:36, </p> <blockquote> <p> from /home/andyc/work/3rdParty/boost_1_37_0/boost/function/detail/prologue.hpp:17, from /home/andyc/work/3rdParty/boost_1_37_0/boost/function.hpp:24, from function_fwd_problem.cpp:1: </p> </blockquote> <p> /home/andyc/work/3rdParty/boost_1_37_0/boost/function/function_fwd.hpp:24:7: warning: "BOOST_STRICT_CONFIG" is not defined </p> <p> # cat function_fwd_problem.cpp #include &lt;boost/function.hpp&gt; # </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2496 Trac 1.4.3 ANDREW CHITTENDEN <andyc@…> Wed, 12 Nov 2008 11:54:13 GMT <link>https://svn.boost.org/trac10/ticket/2496#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2496#comment:1</guid> <description> <p> This following patch fixes it: </p> <h5 class="section" id="boostfunctionfunction_fwd.hpp1.1vsedited">boost/function/function_fwd.hpp 1.1 vs edited</h5> <p> --- 1.1/boost/function/function_fwd.hpp 2008-11-06 09:48:35 +00:00 +++ edited/boost/function/function_fwd.hpp 2008-11-12 11:49:40 +00:00 @@ -21,7 +21,7 @@ </p> <blockquote> <p> #if defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ </p> <blockquote> <table class="wiki"> <tr><td> defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG) \ </td></tr></table> </blockquote> </blockquote> <ul><li></li></ul><table class="wiki"> <tr><td> !(BOOST_STRICT_CONFIG </td><td> !defined(<span class="underline">SUNPRO_CC) </span></td><td> <span class="underline">SUNPRO_CC &gt; 0x540) </span></td></tr><tr>+ <td> !(defined(BOOST_STRICT_CONFIG) </td><td> !defined(<span class="underline">SUNPRO_CC) </span></td><td> <span class="underline">SUNPRO_CC &gt; 0x540) </span></td></tr></table> <blockquote> <p> # define BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX #endif </p> </blockquote> <p> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Tue, 18 Nov 2008 00:58:46 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/2496#comment:2 https://svn.boost.org/trac10/ticket/2496#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Douglas Gregor</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">function</span> </li> </ul> Ticket Vladimir Prus Sat, 06 Jun 2009 14:12:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2496#comment:3 https://svn.boost.org/trac10/ticket/2496#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> This is already fixed in SVN. </p> Ticket