id summary reporter owner description type status milestone component version severity resolution keywords cc 516 [variant] Bug in recursive_wrapper_fwd.hpp nobody ebf "{{{ 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 }}}" Bugs closed None None Fixed