This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: PR 28018


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]