Joe Conway wrote:
> 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

Micheal Meskes has asked if anyone has an idea on how to fix this.

> -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.

I believe these are coming from bison and it is difficult to fix.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to