BUG: egcs C++ compiler compiles ill-formed code? (fwd)

Alexandre Oliva oliva@dcc.unicamp.br
Thu Sep 17 18:05:00 GMT 1998


Mumit Khan <khan@xraylith.wisc.edu> writes:

> void (A::*pf)() = &(A::f); //Error, because parenthesized

You're right, egcs should refuse to compile this line.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list