[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Readline and libiberty compilation warnings with SGI CC
From: |
Andreas Zeller |
Subject: |
Readline and libiberty compilation warnings with SGI CC |
Date: |
26 Jan 2001 13:14:22 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Hi!
Gatien Mellion <address@hidden> writes:
> I just had some [DDD compilation] warnings, could u just have a look
> and tell me if it's important...
Thanks for your report! Most of these warnings (included below) are
in the GNU `readline' and `libiberty' packages (which I only include
but do not maintain). This reply is forwarded to the package
maintainers <address@hidden>, who will check whether the
warnings below indicate problems in the package code.
The remaining warnings (not listed here) are in the `cxxtest' demo
program, which is not a part of DDD itself, but of course, a part of
the DDD distribution. I will try to fix them for DDD 3.3.
Oh, and finally: None of these warnings seems important to me. But
thanks anyway!
Andreas
Readline warnings
-----------------
> Making all in readline
> rm -f vi_mode.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 vi_mode.c
> cc-1552 cc: WARNING File = vi_mode.c, Line = 113
> The variable "vi_continued_command" is set but never used.
>
> static int vi_continued_command;
> ^
>
> rm -f funmap.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 funmap.c
> rm -f keymaps.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 keymaps.c
> rm -f parens.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 parens.c
> rm -f search.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 search.c
> rm -f rltty.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 rltty.c
> rm -f complete.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 complete.c
> cc-1183 cc: WARNING File = complete.c, Line = 466
> An unsigned integer is being compared to zero.
>
> PUTX (*s);
> ^
>
> rm -f bind.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 bind.c
> cc-1164 cc: WARNING File = bind.c, Line = 1256
> Argument of type "unsigned char *" is incompatible with parameter of type
>
> "char *".
>
> rl_macro_bind (useq, &funname[1], _rl_keymap);
> ^
>
> cc-1164 cc: WARNING File = bind.c, Line = 1417
> Argument of type "unsigned char *" is incompatible with parameter of type
>
> "char *".
>
> rl_translate_keyseq (v + beg, _rl_isearch_terminators, &end);
> ^
>
> rm -f isearch.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 isearch.c
> cc-1164 cc: WARNING File = isearch.c, Line = 267
> Argument of type "unsigned char *" is incompatible with parameter of type
>
> "const char *".
>
> if (strchr (isearch_terminators, c))
> ^
>
> rm -f display.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 display.c
> cc-1552 cc: WARNING File = display.c, Line = 316
> The variable "lb_botlin" is set but never used.
>
> int c_pos, inv_botlin, lb_botlin, lb_linenum;
> ^
>
> rm -f signals.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 signals.c
> rm -f util.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 util.c
> rm -f kill.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 kill.c
> rm -f undo.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 undo.c
> rm -f macro.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 macro.c
> rm -f input.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 input.c
> rm -f callback.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 callback.c
> rm -f terminal.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 terminal.c
> cc-1552 cc: WARNING File = terminal.c, Line = 98
> The variable "dumb_term" is set but never used.
>
> static int dumb_term;
> ^
>
> rm -f nls.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 nls.c
> rm -f xmalloc.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 xmalloc.c
> rm -f history.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 history.c
> rm -f histexpand.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 histexpand.c
> rm -f histfile.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 histfile.c
> rm -f histsearch.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 histsearch.c
> rm -f shell.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 shell.c
> rm -f tilde.o
> cc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
> -DRL_LIBRARY_VERSION='"4.0"' -n32 tilde.c
> rm -f libreadline.a
> ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o
> search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o
> kill.o undo.o macro.o input.o callback.o terminal.o nls.o xmalloc.o
> history.o histexpand.o histfile.o histsearch.o shell.o tilde.o
> test -n ":" && : libreadline.a
> rm -f libhistory.a
> ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o
> xmalloc.o
> test -n ":" && : libhistory.a
Libiberty warnings
------------------
> Making all in libiberty
> if [ x"no" = xyes ] && [ ! -d pic ]; then \
> mkdir pic; \
> else true; fi
> touch stamp-picdir
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include argv.c -o pic/argv.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include argv.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include choose-temp.c -o
> pic/choose-temp.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include choose-temp.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include concat.c -o
> pic/concat.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include concat.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include cplus-dem.c -o
> pic/cplus-dem.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include cplus-dem.c
> cc-1116 cc: WARNING File = cplus-dem.c, Line = 553
> Non-void function "code_for_qualifier" (declared at line 533) should
> return a
> value.
>
> }
> ^
>
> cc-1116 cc: WARNING File = cplus-dem.c, Line = 594
> Non-void function "qualifier_string" (declared at line 559) should return
> a
> value.
>
> }
> ^
>
> cc-1552 cc: WARNING File = cplus-dem.c, Line = 1635
> The variable "start" is set but never used.
>
> const char *start;
> ^
>
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include fdmatch.c -o
> pic/fdmatch.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include fdmatch.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include fnmatch.c -o
> pic/fnmatch.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include fnmatch.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getopt.c -o
> pic/getopt.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getopt.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getopt1.c -o
> pic/getopt1.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getopt1.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getpwd.c -o
> pic/getpwd.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getpwd.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getruntime.c -o
> pic/getruntime.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include getruntime.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include hashtab.c -o
> pic/hashtab.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include hashtab.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include hex.c -o pic/hex.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include hex.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include floatformat.c -o
> pic/floatformat.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include floatformat.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include objalloc.c -o
> pic/objalloc.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include objalloc.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include obstack.c -o
> pic/obstack.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include obstack.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include partition.c -o
> pic/partition.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include partition.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include pexecute.c -o
> pic/pexecute.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include pexecute.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include spaces.c -o
> pic/spaces.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include spaces.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include splay-tree.c -o
> pic/splay-tree.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include splay-tree.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include strerror.c -o
> pic/strerror.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include strerror.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include strsignal.c -o
> pic/strsignal.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include strsignal.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xatexit.c -o
> pic/xatexit.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xatexit.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xexit.c -o pic/xexit.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xexit.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xmalloc.c -o
> pic/xmalloc.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xmalloc.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xmemdup.c -o
> pic/xmemdup.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xmemdup.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xstrdup.c -o
> pic/xstrdup.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xstrdup.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xstrerror.c -o
> pic/xstrerror.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include xstrerror.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include asprintf.c -o
> pic/asprintf.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include asprintf.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include basename.c -o
> pic/basename.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include basename.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include mkstemps.c -o
> pic/mkstemps.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include mkstemps.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include setenv.c -o
> pic/setenv.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include setenv.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include vasprintf.c -o
> pic/vasprintf.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include vasprintf.c
> test x"no" != xyes || \
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include vfork.c -o pic/vfork.o
> cc -c -DHAVE_CONFIG_H -n32 -I. -I./../include vfork.c
> rm -f libiberty.a
> ar rc libiberty.a \
> argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o
> getopt1.o getpwd.o getruntime.o hashtab.o hex.o floatformat.o objalloc.o
> obstack.o partition.o pexecute.o spaces.o splay-tree.o strerror.o
> strsignal.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o
> asprintf.o basename.o mkstemps.o setenv.o vasprintf.o vfork.o
> : libiberty.a
> rm -f needed-list; touch needed-list; \
> for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr
> strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork
> waitpid bcmp bcopy bzero; do \
> for g in asprintf.o basename.o mkstemps.o setenv.o vasprintf.o vfork.o ;
> do \
> case "$g" in \
> *$f*) echo $g >> needed-list ;; \
> esac; \
> done; \
> done
> echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o
> getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o floatformat.o
> objalloc.o obstack.o partition.o pexecute.o spaces.o splay-tree.o
> strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o
> xstrerror.o > required-list
--
Andreas Zeller Universitaet Passau
http://www.fmi.uni-passau.de/st/staff/zeller/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Readline and libiberty compilation warnings with SGI CC,
Andreas Zeller <=