Re: additional GCC warnings - Mailing list pgsql-hackers

From Neil Conway
Subject Re: additional GCC warnings
Date
Msg-id 1098068475.22986.127.camel@localhost.localdomain
Whole thread Raw
In response to Re: additional GCC warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, 2004-10-18 at 12:03, Tom Lane wrote:
> > We've always used -Wmissing-prototypes.
> 
> We've always used both.

My apologies -- I don't know where I got the opposite impression.

> Hmm, it looks like -Wmissing-prototypes may be a superset of
> -Wmissing-declarations --- it seems to say that the latter will be
> content with a K&R style declaration ("extern int foo();") but the
> former will not.  If that's a correct reading then we could drop
> -Wmissing-declarations.

Ok, that makes sense.

-Neil




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: additional GCC warnings
Next
From: Bruce Momjian
Date:
Subject: Re: Open Items