id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4385,Avoid redefining BOOST_NO_TYPEID and BOOST_NO_RTTI for gcc 4.3+,nigels.com@…,John Maddock,"Our codebase is configured to use BOOST_NO_TYPEID and BOOST_NO_RTTI for various compiler toolchains. When we use gcc 4.4 as bundled in the Google Native Client (NaCl) SDK for OSX and Linux, we see compilation warnings due to the autodetection as follows: {{{ // // RTTI and typeinfo detection is possible post gcc-4.3: // #if __GNUC__ * 100 + __GNUC_MINOR__ >= 403 # ifndef __GXX_RTTI # define BOOST_NO_TYPEID # define BOOST_NO_RTTI # endif #endif }}} Our proposed patch is to avoid redefining either of these: {{{ // // RTTI and typeinfo detection is possible post gcc-4.3: // #if __GNUC__ * 100 + __GNUC_MINOR__ >= 403 # ifndef __GXX_RTTI # ifndef BOOST_NO_TYPEID # define BOOST_NO_TYPEID # endif # ifndef BOOST_NO_RTTI # define BOOST_NO_RTTI # endif # endif #endif }}} ",Patches,closed,Boost 1.44.0,config,Boost 1.43.0,Cosmetic,fixed,gcc BOOST_NO_TYPEID BOOST_NO_RTTI NaCl,