C++ PATCH: PR 28018

Gabriel Dos Reis gdr@cs.tamu.edu
Wed Jun 14 19:50:00 GMT 2006


Mark Mitchell <mark@codesourcery.com> writes:

[...]

| -	pedwarn ("ISO C++ forbids assignment of arrays");
| +	{
| +	  error ("array used as initializer");
                                ^^^^^^^^^^^

Should we not preserve the previous message?  Now, it says
"initializer" where it should be saying assignment, as in the
testcase. 

-- Gaby



More information about the Gcc-patches mailing list