------- Comment #3 from paolo dot carlini at oracle dot com 2010-06-04 00:17 ------- Is this also the same issue? Probably not, but it causes tons of warnings in the libstdc++ testsuite (with -Wall in CXXFLAGS) and seems bogus to me.
struct ratio { static const int a = 3; }; const int ratio::a; int f() { ratio r; return r.a; } -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo dot carlini at oracle | |dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44362