id summary reporter owner description type status milestone component version severity resolution keywords cc 7242 GCC 4.8 warns unused local typedef Kohei Takahashi John Maddock "GCC 4.8 warns unused local typedef. see followings. {{{ $ cat hoge.cpp #include int main() { BOOST_STATIC_ASSERT(true); } $ g++-4.8.0 -Wall -Iboost-trunk hoge.cpp In file included from boost-trunk/boost/config.hpp:57:0, from boost-trunk/boost/static_assert.hpp:17, from hoge.cpp:1: hoge.cpp: In function 'int main()': boost-trunk/boost/static_assert.hpp:125:21: warning: typedef 'boost_static_assert_typedef_5' locally defined but not used [-Wunused-local-typedefs] BOOST_JOIN(boost_static_assert_typedef_, __LINE__) ^ hoge.cpp:5:5: note: in expansion of macro 'BOOST_STATIC_ASSERT' BOOST_STATIC_ASSERT(true); ^ }}} To suppress this warnings, append !__attribute!__((unused))." Bugs closed To Be Determined static_assert Boost Release Branch Problem fixed