Skip site navigation (1) Skip section navigation (2)

Re: -Wall and Wmissing-prototype

From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "Gaetano Mendola" <mendola(at)bigfoot(dot)com>,<pgsql-hackers(at)postgresql(dot)org>
Subject: Re: -Wall and Wmissing-prototype
Date: 2004-05-28 23:14:50
Message-ID: D90A5A6C612A39408103E6ECDD77B829BC0181@voyager.corporate.connx.com (view raw or flat)
Thread:
Lists: pgsql-hackers
There are many warnings that do not show up with -Wall

I usually use at least:

-Wall -ansi -pedantic

These are also a good idea:

-Wimplicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Werror

You will also get additional warnings when optimization is turned on due
to flow analysis that you will not get in debug mode.

> -----Original Message-----
> From: Gaetano Mendola [mailto:mendola(at)bigfoot(dot)com] 
> Sent: Friday, May 28, 2004 3:31 PM
> To: pgsql-hackers(at)postgresql(dot)org
> Subject: [HACKERS] -Wall and Wmissing-prototype
> 
> 
> Hi all,
> I compiled postgres7.5devel and I see that during
> compilation are used togheter:
> -Wall -Wmissing-proptotype -Wmissing-declaration
> there is any reason to specify after -Wall others
> warning ?
> 
> 
> 
> Regards
> Gaetano Mendola
> 
> 
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

pgsql-hackers by date

Next:From: Gaetano MendolaDate: 2004-05-28 23:59:03
Subject: passing a whole record variable into a SQL command is not implemented
Previous:From: pgsqlDate: 2004-05-28 23:12:18
Subject: Re: [HACKERS] select like...not using index

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group