This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: BUG: egcs C++ compiler compiles ill-formed code? (fwd)
- To: Mumit Khan <khan at xraylith dot wisc dot edu>
- Subject: Re: BUG: egcs C++ compiler compiles ill-formed code? (fwd)
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 17 Sep 1998 22:03:35 +-300
- Cc: egcs-bugs at cygnus dot com
- References: <Pine.SUN.3.93.980916140502.25001A-100000@modi.xraylith.wisc.edu>
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