On 11/02/2014 09:15 AM, Markus Trippelsdorf wrote:
+ if (cxx_dialect < cxx11)
+ {
+ permerror (input_location, "specialization of %qD in different "
+"namespace", tmpl);
+ permerror (input_location, " from definition of %q+#D", tmpl);
+ }
+
(Fixed g++.dg/template/spec25.C issue. Sorry for the churn.)
DR374: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#374
allows explicit specialization of templates in the enclosing namespace.
Because this idiom is currently already accepted with -fpermissive, the
fix is easy: Just ski