Hi to you all, and thank you for making postgres,

Here is my 1 euro contribution :

System :
Linux Red Hat 5.1, kernel upgraded to 2.0.36, gcc 2.7.2.3, flex
2.5.4, gmake 3.76.1

Warnings during compilation :
---------------------------------------------------------------------------------------------------------------
$ gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes
-I.. -Wno-error -c bootparse.c -o bootparse.o
/usr/lib/bison.simple: In function `Int_yyparse':
/usr/lib/bison.simple:327: warning: implicit declaration of function
`Int_yyerror'
/usr/lib/bison.simple:387: warning: implicit declaration of function
`Int_yylex'

$ gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes
-I.. -Wno-error -c bootparse.c -o bootparse.o
/usr/lib/bison.simple: In function `Int_yyparse':
/usr/lib/bison.simple:327: warning: implicit declaration of function
`Int_yyerror'
/usr/lib/bison.simple:387: warning: implicit declaration of function
`Int_yylex'

$ gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes
-I.. -Wno-error -c gram.c -o gram.o
/usr/lib/bison.simple: In function `yyparse':
/usr/lib/bison.simple:327: warning: implicit declaration of function
`yyerror'
/usr/lib/bison.simple:387: warning: implicit declaration of function
`yylex'

$ gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes
-I.. -Wno-error -c scan.c -o scan.o
lex.yy.c:820: warning: no previous prototype for `yylex'
scan.l:426: warning: no previous prototype for `yyerror'
lex.yy.c:2174: warning: `yy_flex_realloc' defined but not used

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../.. -c network.c -o network.o
network.c: In function `network_network':
network.c:392: warning: unused variable `ptr'

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../.. -c inet_net_ntop.c -o inet_net_ntop.o
inet_net_ntop.c: In function `inet_net_ntop_ipv4':
inet_net_ntop.c:192: warning: unused variable `m'

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../.. -c inet_net_pton.c -o inet_net_pton.o
inet_net_pton.c: In function `inet_cidr_pton_ipv4':
inet_net_pton.c:104: warning: `tmp' might be used uninitialized in this
function

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../.. -c dfmgr.c -o dfmgr.o
dfmgr.c:283: warning: no previous prototype for `trigger_dynamic'

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=4
-DPATCHLEVEL=4 -DINCLUDE_PATH=\"/usr/local/pgsql/include\" -c y.tab.c
-o y.tab.o
/usr/lib/bison.simple: In function `yyparse':
/usr/lib/bison.simple:387: warning: implicit declaration of function
`yylex'

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=4
-DPATCHLEVEL=4 -DINCLUDE_PATH=\"/usr/local/pgsql/include\" -c pgc.c
-o pgc.o
lex.yy.c:998: warning: no previous prototype for `yylex'
lex.yy.c:2775: warning: `yy_flex_realloc' defined but not used
lex.yy.c:2258: warning: `yyunput' defined but not used

$ gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes
-I. -DHAVE_CONFIG_H -fpic -c misc.c -o misc.o
misc.c:61: warning: no previous prototype for `mylog'
misc.c:91: warning: no previous prototype for `qlog'

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../../../interfaces/libpq -I../../../include
-I../../../backend -fpic -c -o pl_parse.o pl_gram.c
/usr/local/bison/bison.simple: In function `plpgsql_yyparse':
/usr/local/bison/bison.simple:327: warning: implicit declaration of
function `plpgsql_yyerror'
scan.l: At top level:
In file included from gram.y:1460:
scan.l:198: warning: no previous prototype for `plpgsql_yylex'
scan.l: In function `plpgsql_yylex':
scan.l:143: warning: label `find_rule' defined but not used
scan.l: At top level:
scan.l:1045: warning: `plpgsql_yy_flex_realloc' defined but not used
scan.l:527: warning: `plpgsql_yyunput' defined but not used

$ gcc -I../../../include -I../../../backend -O2 -Wall
-Wmissing-prototypes -I../../../interfaces/libpq -I../../../include
-I../../../backend -fpic -c pl_exec.c -o pl_exec.o
pl_exec.c: In function `exec_stmt_fori':
pl_exec.c:1246: warning: value computed is not used
pl_exec.c:1248: warning: value computed is not used

$ gcc -I../../../src/include -I../../../src/backend -O2 -Wall
-Wmissing-prototypes -I../../../src/interfaces/libpq
-I../../../src/include -fPIC -I../../../src/backend -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -c pltcl.c
-o pltcl.o
pltcl.c: In function `pltcl_func_handler':
pltcl.c:437: warning: variable `prodesc' might be clobbered by `longjmp'
or `vfork'
pltcl.c: In function `pltcl_trigger_handler':
pltcl.c:760: warning: variable `rettup' might be clobbered by `longjmp'
or `vfork'
pltcl.c: In function `pltcl_SPI_exec':
pltcl.c:1313: warning: variable `arrayname' might be clobbered by
`longjmp' or `vfork'
pltcl.c:1314: warning: variable `query_idx' might be clobbered by
`longjmp' or `vfork'
pltcl.c:1318: warning: `tuples' might be used uninitialized in this
function
pltcl.c:1318: warning: variable `tuples' might be clobbered by `longjmp'
or `vfork'
pltcl.c:1319: warning: variable `tupdesc' might be clobbered by
`longjmp' or `vfork'
pltcl.c: In function `pltcl_SPI_execp':
pltcl.c:1725: warning: variable `i' might be clobbered by `longjmp' or
`vfork'
pltcl.c:1730: warning: variable `nulls' might be clobbered by `longjmp'
or `vfork'
pltcl.c:1731: warning: variable `arrayname' might be clobbered by
`longjmp' or `vfork'
pltcl.c:1737: warning: variable `tuples' might be clobbered by `longjmp'
or `vfork'
pltcl.c:1738: warning: variable `tupdesc' might be clobbered by
`longjmp' or `vfork'
----------------------------------------------------------------------------------------------------------------


Regression tests that failed :

int2 .. failed
int4 .. failed
int8 .. failed

geometry .. failed


I can send you more information if you nedd,
Regards,

Jose Paumard

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedJan 19, '99 at 1:02p
activeJan 19, '99 at 1:02p
posts1
users1
websitepostgresql.org
irc#postgresql

1 user in discussion

José Paumard: 1 post

People

Translate

site design / logo © 2022 Grokbase