Обсуждение: Warnings in CVS build (Linux)

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

Warnings in CVS build (Linux)

От
Philip Warner
Дата:
Some warnings in current CVS build in Linux (SuSE 7.2):

pgc.c: In function `yylex':
pgc.c:1243: warning: label `find_rule' defined but not used
pgc.l: At top level:
pgc.c:3090: warning: `yy_flex_realloc' defined but not used
odbcapi.c:140: warning: no previous prototype for `SQLDataSources'
pl_scan.c: In function `plpgsql_base_yylex':
pl_scan.c:1003: warning: label `find_rule' defined but not used
scan.l: At top level:
pl_scan.c:2294: warning: `yy_flex_realloc' defined but not used
In file included from plperl.c:82:
/usr/lib/perl5/5.6.1/i586-linux/CORE/perl.h:2155: warning: `DEBUG' redefined
../../../src/include/utils/elog.h:22: warning: this is the location of the
previous definition
In file included from SPI.xs:41:
/usr/lib/perl5/5.6.1/i586-linux/CORE/perl.h:2155: warning: `DEBUG' redefined
../../../src/include/utils/elog.h:22: warning: this is the location of the
previous definition



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


Re: Warnings in CVS build (Linux)

От
Thomas Lockhart
Дата:
> Some warnings in current CVS build in Linux (SuSE 7.2):
> pgc.c: In function `yylex':
> pgc.c:1243: warning: label `find_rule' defined but not used
> pgc.l: At top level:
> pgc.c:3090: warning: `yy_flex_realloc' defined but not used

These are normal; the code automatically generated by lex defines these
routines.

> odbcapi.c:140: warning: no previous prototype for `SQLDataSources'

Hmm. This is a stubbed-out routine; can someone add the prototype in the
appropriate place? Maybe isql.h?

> In file included from plperl.c:82:
> /usr/lib/perl5/5.6.1/i586-linux/CORE/perl.h:2155: warning: `DEBUG' redefined
> ../../../src/include/utils/elog.h:22: warning: this is the location of the
> previous definition
> In file included from SPI.xs:41:
> /usr/lib/perl5/5.6.1/i586-linux/CORE/perl.h:2155: warning: `DEBUG' redefined
> ../../../src/include/utils/elog.h:22: warning: this is the location of the
> previous definition

Yuck.
                    - Thomas