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: Contribution: Support for Cirrus Maverick EP9312 chip


        (note_invalid_constants): Change from a void function to bool.
        Add an extra parameter, saying whether the fixups should be
        pushed.  Return true if fixups are needed.

This introduces a warning regression.  You can't have a "bool" parameter 
in K&R compatible functions, since bool must be promoted when prototypes 
are not used.  The parameter needs to be "int".

R.


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