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: [Makefile] Bootstrap with -Wold-style-definition


On Thu, 30 Oct 2003, Kelley Cook wrote:

> A simple patch which adds in -Wold-style-definition to the bootstrap to
> which should help everyone remember to retain the C90 conversion.

> OK?

Not as is.

Your patch adds:

! # other than C.   These flags need to be available back to at least GCC 2.7.2.

yet gcc-2.95 gives me:
cc1: Invalid option `-Wold-style-definition'

I think you can solve this with an autoconf test though, which
would also be handy for adding -Wdeclaration-after-statement.

brgds, H-P


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