compile warnings

Поиск
Список
Период
Сортировка
От Joe Conway
Тема compile warnings
Дата
Msg-id 3EF90617.7000308@joeconway.com
обсуждение исходный текст
Ответы Re: compile warnings  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: compile warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Since we're getting close to a freeze, I thought I'd point out these 
warnings again:

make[4]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg/pgtypeslib'
[...]
i386-redhat-linux-gcc -O2 -g -Wall -Wmissing-prototypes 
-Wmissing-declarations -fpic -I../../../../src/interfaces/ecpg/include 
-I../../../../src/include/utils -I../../../../src/include 
-I/usr/kerberos/include -g  -c -o timestamp.o timestamp.c -MMD
timestamp.c: In function `dttofmtasc_replace':
timestamp.c:468: warning: `%g' yields only last 2 digits of year
timestamp.c:606: warning: `%x' yields only last 2 digits of year in some 
locales

-and-

make[4]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg/preproc'
[...]
i386-redhat-linux-gcc -O2 -g -Wall -Wmissing-prototypes 
-Wmissing-declarations -Wno-error -I./../include -I. 
-I../../../../src/include -I/usr/kerberos/include -DMAJOR_VERSION=3 
-DMINOR_VERSION=0 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/include\"   -c -o 
preproc.o preproc.c -MMD
In file included from preproc.y:6189:
pgc.c: In function `yylex':
pgc.c:1386: warning: label `find_rule' defined but not used
/usr/include/ctype.h: At top level:
pgc.c:3377: warning: `yy_flex_realloc' defined but not used

Other than these 4 warnings, I get a clean compile on Red Hat 9 and 8.0 
systems.

Joe



В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: Two weeks to feature freeze
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: compile warnings