minor compiler warning on OpenBSD

Поиск
Список
Период
Сортировка
От Stefan Kaltenbrunner
Тема minor compiler warning on OpenBSD
Дата
Msg-id 4694FA48.600@kaltenbrunner.cc
обсуждение исходный текст
Ответы Re: minor compiler warning on OpenBSD
Список 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 по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: PQescapeBytea* version for parameters
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: 2PC-induced lockup