minor compiler warning on OpenBSD - Mailing list pgsql-hackers

From Stefan Kaltenbrunner
Subject minor compiler warning on OpenBSD
Date
Msg-id 4694FA48.600@kaltenbrunner.cc
Whole thread Raw
Responses Re: minor compiler warning on OpenBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wendif-labels -fno-strict-aliasing -DFRONTEND
-I../../../src/interfaces/libpq -I../../../src/include
-I/usr/include/kerberosV/  -c -o initdb.o initdb.c
initdb.c: In function `locale_date_order':
initdb.c:2187: warning: `%x' yields only last 2 digits of year in some
locales


$ gcc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd4.0/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)


Stefan


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: PQescapeBytea* version for parameters
Next
From: Heikki Linnakangas
Date:
Subject: Re: 2PC-induced lockup