Re: additional GCC warnings

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: additional GCC warnings
Date: 2004-10-18 03:01:15
Message-ID: 1098068475.22986.127.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-10-18 03:31:40 Re: Open Items
Previous Message Tom Lane 2004-10-18 02:03:06 Re: additional GCC warnings