compile warnings in CVS - Mailing list pgsql-hackers

From Neil Conway
Subject compile warnings in CVS
Date
Msg-id 871y8x46gy.fsf@klamath.dyndns.org
Whole thread Raw
Responses Re: compile warnings in CVS  (Neil Conway <nconway@klamath.dyndns.org>)
Re: compile warnings in CVS  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: compile warnings in CVS  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
I get the following compiling the current CVS code with gcc 3.1:

...
fe-connect.c: In function `connectDBComplete':
fe-connect.c:1081: warning: suggest parentheses around && within ||
fe-connect.c:1086: warning: implicit declaration of function `gettimeofday'
...
pg_controldata.c: In function `main':
pg_controldata.c:91: warning: `%c' yields only last 2 digits of year in some locales
pg_controldata.c:93: warning: `%c' yields only last 2 digits of year in some locales

Cheers,

Neil

-- 
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC



pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Removing Libraries (Was: Re: Open 7.3 issues)
Next
From: Neil Conway
Date:
Subject: Re: compile warnings in CVS