This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c++/16696 Strange message when operator++ not found
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Tue, 04 Aug 2009 08:12:31 -0700
- Subject: Re: PR c++/16696 Strange message when operator++ not found
- References: <6c33472e0908040710s74b1975dlc0a1e494f8718ef8@mail.gmail.com>
Manuel López-Ibáñez wrote:
> 2009-08-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
>
> PR c++/16696
> cp/
> * call.c (build_new_op): Only try prefix operator if -fpermissive,
> otherwise just error.
> testsuite/
> * g++.dg/parse/pr16696.C: New.
> * g++.dg/parse/pr16696-permissive.C: New.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713