compile warnings

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: compile warnings
Date: 2003-06-25 02:16:55
Message-ID: 3EF90617.7000308@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-06-25 02:25:18 Re: compile warnings
Previous Message The Hermit Hacker 2003-06-25 01:34:23 Re: Two weeks to feature freeze