Hello ...

I have compiled PostgreSQL on Debian/Woody on a Sparc machine. Unfortunately there are some nasty looking compiler warnings ...


gcc -O3 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o giststrat.o giststrat.c
In file included from /usr/include/math.h:350,
from ../../../../src/include/utils/timestamp.h:17,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/access/gist.h:18,
from giststrat.c:17:
/usr/include/bits/mathinline.h:126: warning: no previous prototype for `__signbitl'
/usr/bin/ld -r -o SUBSYS.o gist.o gistget.o gistscan.o giststrat.o
make[4]: Leaving directory `/usr/src/postgresql/postgresql-7.3.2/src/backend/access/gist'
make -C hash SUBSYS.o
make[4]: Entering directory `/usr/src/postgresql/postgresql-7.3.2/src/backend/access/hash'
gcc -O3 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hash.o hash.c
In file included from /usr/include/math.h:350,
from ../../../../src/include/utils/timestamp.h:17,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/access/genam.h:18,
from hash.c:21:
/usr/include/bits/mathinline.h:126: warning: no previous prototype for `__signbitl'
gcc -O3 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashfunc.o hashfunc.c
In file included from /usr/include/math.h:350,
from ../../../../src/include/utils/timestamp.h:17,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/access/hash.h:21,
from hashfunc.c:22:
/usr/include/bits/mathinline.h:126: warning: no previous prototype for `__signbitl'
gcc -O3 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashinsert.o hashinsert.c
In file included from /usr/include/math.h:350,
from ../../../../src/include/utils/timestamp.h:17,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/access/hash.h:21,
from hashinsert.c:18:
/usr/include/bits/mathinline.h:126: warning: no previous prototype for `__signbitl'
gcc -O3 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashovfl.o hashovfl.c
In file included from /usr/include/math.h:350,
from ../../../../src/include/utils/timestamp.h:17,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/access/hash.h:21,
from hashovfl.c:20:



Here is the code around line 350: /* Get machine-dependent inline versions (if there are any). */ #ifdef __USE_EXTERN_INLINES # include <bits/mathinline.h> #endif


Maybe this is helpful.


Regards,

Hans


<http://kernel.cybertec.at>



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

http://archives.postgresql.org

Reply via email to