------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-02 16:37 ------- Reduced testcase: template<typename _CharT > class basic_string; typedef basic_string<char> string; template<typename _CharT> struct basic_string { static const int npos = -1; }; extern template class basic_string<char>; struct A { static const long npos = string::npos; };
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-09-02 16:37:51 date| | Summary|[4.0/4.1 Regression] patch |[4.0/4.1 Regression] rejects |for #23099 breaks glibmm |static int as non constant | |after "extern template" http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23699