Compiler warning on Debian/Sparc

From: Hans-Jürgen Schönig <hs(at)cybertec(dot)at>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Compiler warning on Debian/Sparc
Date: 2003-02-24 14:20:48
Message-ID: 3E5A2A40.7090003@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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>

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-02-24 14:42:44 Re: Bugs with rules on views/tables: permission denied
Previous Message Donald Fraser 2003-02-24 12:04:46 Bugs with rules on views/tables: permission denied