id summary reporter owner description type status milestone component version severity resolution keywords cc 2468 compile error with g++ -Wundef -Wall: BOOST_DYNAMIC_BITSET_GNUC_VERSION_WORKAROUND_GUARD ANDREW CHITTENDEN John Maddock "/home/andyc/work/tiger/1/include/ppc_BOS/boost/dynamic_bitset/config.hpp:39:1: error: ""BOOST_DYNAMIC_BITSET_GNUC_VERSION_WORKAROUND_GUARD"" is not defined The following patch fixes it: ===== boost/dynamic_bitset/config.hpp 1.1 vs edited ===== --- 1.1/boost/dynamic_bitset/config.hpp 2008-10-30 16:15:01 +00:00 +++ edited/boost/dynamic_bitset/config.hpp 2008-11-03 16:04:45 +00:00 @@ -29,6 +29,12 @@ #define BOOST_DYNAMIC_BITSET_GNUC_VERSION ( __GNUC__ * 100 * 100 \ + __GNUC_MINOR__ * 100) +#ifndef BOOST_DYNAMIC_BITSET_GNUC_VERSION +#define BOOST_DYNAMIC_BITSET_GNUC_VERSION_WORKAROUND_GUARD 1 +#else +#define BOOST_DYNAMIC_BITSET_GNUC_VERSION_WORKAROUND_GUARD 0 +#endif + // no-op function to workaround gcc bug c++/8419 // namespace boost { namespace detail { " Bugs closed Boost 1.38.0 config Boost 1.36.0 Problem wontfix gennaro.prota@…