Re: minor compiler warning on OpenBSD - Mailing list pgsql-hackers

From Stefan Kaltenbrunner
Subject Re: minor compiler warning on OpenBSD
Date
Msg-id 46954597.6010105@kaltenbrunner.cc
Whole thread Raw
In response to Re: minor compiler warning on OpenBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: minor compiler warning on OpenBSD  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Tom Lane wrote:
> Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
>> while looking at some other stuff I noticed that we have the following
>> compiler warning on OpenBSD 4.0/amd64 with the OS supplied compiler:
>> initdb.c:2187: warning: `%x' yields only last 2 digits of year in some
>> locales
> 
> Yeah, mine complains about that too.  Peter's response was "get a newer
> compiler" --- apparently the gcc folks thought better of this warning
> after the Y2K panic subsided.

hmm ok - but at least on openbsd we will have to accept that warning fora few years to go (4.1 shipped with 3.3.5 and
itseems that the
 
upcoming 4.2 is not getting an upgraded compiler either)


Stefan


pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: 2PC-induced lockup
Next
From: "Simon Riggs"
Date:
Subject: Re: "Running readonly queried on PITR slaves" statusupdate