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: Patch to deprecate casts as lvalues for C


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> "Joseph S. Myers" <jsm@polyomino.org.uk> writes:
>
> | +    default:
> | +      pedwarn ("use of cast expressions as lvalues is deprecated");
>
> Just to be clear:  an unconditional pedwarn is an error if
> -pedantic.

Not in the C front end it isn't.

zw


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