Boost C++ Libraries: Ticket #516: [variant] Bug in recursive_wrapper_fwd.hpp https://svn.boost.org/trac10/ticket/516 <pre class="wiki">I've been tracking down an preprocessor warning involving the redefinition of BOOST_TT_AUX_BOOL_TRAIT_DEF1. It appears to me that variant/recursive_wrapper_fwd.hpp is misusing: #include "boost/type_traits/detail/bool_trait_def.hpp" The usual include pattern for this header is: // should be the last #include #include "boost/type_traits/detail/bool_trait_def.hpp" ... #include "boost/type_traits/detail/bool_trait_undef.hpp" But recursive_wrapper_fwd.hpp has: #include "boost/type_traits/detail/bool_trait_def.hpp" #include "boost/mpl/aux_/lambda_support.hpp" ... and no include for bool_trait_undef.hpp. This is causing a redefinition warning on Apple darwin for BOOST_TT_AUX_BOOL_TRAIT_DEF1. Changing recursive_wrapper_fwd.hpp to the usual use pattern of bool_trait_def.hpp as described above silences the warning. Thanks, Howard hinnant@twcny.rr.com </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/516 Trac 1.4.3 ebf Sat, 26 Nov 2005 05:45:24 GMT <link>https://svn.boost.org/trac10/ticket/516#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/516#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=120427 Hi Howard, Thanks for the report. I committed a change that hopefully resolves the issue. Best, Eric </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>ebf</dc:creator> <pubDate>Tue, 24 Oct 2006 18:35:08 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/516#comment:2 https://svn.boost.org/trac10/ticket/516#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket