------- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-04 19:59 ------- Comeau C++ also rejects this code while in strict mode: "ComeauTest.c", line 7: error: no instance of overloaded function "pm::inv_sign" matches the argument list The argument types that you used are: (Rational) Op& assign(Op& a) const { return inv_sign(a); } ^ detected during instantiation of "Op &pm::neg_scalar<Op>::assign(Op &) const [with Op=Rational]" at line 23
1 error detected in the compilation of "ComeauTest.c". Test it for yourself at: http://www.comeaucomputing.com/tryitout/ The default settings for the web page is strict mode. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26536