Обсуждение: contrib/ compile warnings

Поиск
Список
Период
Сортировка

contrib/ compile warnings

От
Neil Conway
Дата:
I see the following on this machine: (OSX 10.3.4, gcc 3.3)

[neilc:/Users/neilc/build-pgsql/contrib]% make -s all
ld: warning multiple definitions of symbol _nextval
pending.o definition of _nextval in section (__TEXT,__text)
../../src/backend/postgres definition of _nextval
ld: warning multiple definitions of symbol _setval
pending.o definition of _setval in section (__TEXT,__text)
../../src/backend/postgres definition of _setval
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:3: warning: 
`pow_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:22: warning: 
`log_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:41: warning: 
`sbx_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:60: warning: 
`isb_tab' defined but not used

-Neil



Re: contrib/ compile warnings

От
Tom Lane
Дата:
Neil Conway <neilc@samurai.com> writes:
> I see the following on this machine: (OSX 10.3.4, gcc 3.3)

Interesting.  There are no warnings in contrib at all on my machines
(probably could duplicate the OS X failure on my laptop, but no time
today).  Any theories why this would be platform-specific?
        regards, tom lane


Re: contrib/ compile warnings

От
Bruce Momjian
Дата:
Strange, compiled here fine.

---------------------------------------------------------------------------

Neil Conway wrote:
> I see the following on this machine: (OSX 10.3.4, gcc 3.3)
> 
> [neilc:/Users/neilc/build-pgsql/contrib]% make -s all
> ld: warning multiple definitions of symbol _nextval
> pending.o definition of _nextval in section (__TEXT,__text)
> ../../src/backend/postgres definition of _nextval
> ld: warning multiple definitions of symbol _setval
> pending.o definition of _setval in section (__TEXT,__text)
> ../../src/backend/postgres definition of _setval
> /Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:3: warning: 
> `pow_tab' defined but not used
> /Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:22: warning: 
> `log_tab' defined but not used
> /Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:41: warning: 
> `sbx_tab' defined but not used
> /Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:60: warning: 
> `isb_tab' defined but not used
> 
> -Neil
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073