Code rot exposed
John David Anglin
dave@hiauly1.hia.nrc.ca
Sun Jun 4 10:27:00 GMT 2000
>
> The patch to configure.in (enable-nls) on May 31 exposed the following problem:
>
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../../../gcc/intl -I../../../gcc/lib -g -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long ../../../gcc/intl/localealias.c
> ../../../gcc/intl/localealias.c:47: warning: function declaration isn't a prototype
> ../../../gcc/intl/localealias.c:51: warning: function declaration isn't a prototype
> In file included from ../../../gcc/intl/localealias.c:73:
> ../../../gcc/intl/gettextP.h:49: warning: ANSI does not permit the keyword `inline'
> ../../../gcc/intl/localealias.c: In function `_nl_expand_alias':
> ../../../gcc/intl/localealias.c:172: warning: implicit declaration of function `bsearch'
> ../../../gcc/intl/localealias.c: In function `read_alias_file':
> ../../../gcc/intl/localealias.c:258: warning: pointer targets in passing arg 1 of `fgets' differ in signedness
> ../../../gcc/intl/localealias.c:264: warning: pointer targets in passing arg 1 of `index' differ in signedness
> ../../../gcc/intl/localealias.c:317: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
> ../../../gcc/intl/localealias.c:318: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
> ../../../gcc/intl/localealias.c:326: warning: implicit declaration of function `realloc'
> ../../../gcc/intl/localealias.c:337: void value not ignored as it ought to be
> ../../../gcc/intl/localealias.c:341: void value not ignored as it ought to be
> ../../../gcc/intl/localealias.c:355: warning: implicit declaration of function `qsort'
> ../../../gcc/intl/localealias.c: In function `extend_alias_table':
> ../../../gcc/intl/localealias.c:370: warning: function `realloc' was previously declared within a block
> make[4]: *** [localealias.o] Error 1
and another problem:
../stage1/xgcc -B../stage1/ -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -O3 -o ../cc1chill parse.o actions.o except.o grant.o lang.o tree.o lex.o decl.o typeck.o convert.o expr.o loop.o tasking.o timing.o inout.o satisfy.o ch-version.o ../ggc-callbacks.o \
`cat ../stamp-objlist` ../../libiberty/libiberty.a
/usr/ccs/bin/ld: Unsatisfied symbols:
dcgettext__ (code)
textdomain (code)
bindtextdomain (code)
_nl_msg_cat_cntr (data)
collect2: ld returned 1 exit status
INTLLIBS does not appear in ch/Makefile. The ch/Makefile and objc/Makefile
are built by configure.lang and not by configure.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-bugs
mailing list