|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
minor warnings compiling m4 wrt fseeko and wctype/const/home/jayk/src/m4-1.4.14/lib/regcomp.c: In function 'build_charclass': /home/jayk/src/m4-1.4.14/lib/regcomp.c:3541:3: warning: passing argument 1 of 'wctype' discards qualifiers from pointer target type /usr/include/wctype.h:103:20: note: expected 'char *' but argument is of type 'const char *' gcc -std=gnu99 -I/home/jayk/src/m4-1.4.14/lib -I../lib -mieee -g -O2 -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o /home/jayk/src/m4-1.4.14/src/debug.c /home/jayk/src/m4-1.4.14/src/debug.c: In function 'debug_flush_files': /home/jayk/src/m4-1.4.14/src/debug.c:194:7: warning: implicit declaration of function 'fseeko' mv -f .deps/debug.Tpo .deps/debug.Po gcc -std=gnu99 -I/home/jayk/src/m4-1.4.14/lib -I../lib -mieee -g -O2 -MT eval.o -MD mv -f .deps/input.Tpo .deps/input.Po gcc -std=gnu99 -I/home/jayk/src/m4-1.4.14/lib -I../lib -mieee -g -O2 -MT macro.o -MD -MP -MF .deps/macro.Tpo -c -o macro.o /home/jayk/src/m4-1.4.14/src/macro.c mv -f .deps/macro.Tpo .deps/macro.Po gcc -std=gnu99 -I/home/jayk/src/m4-1.4.14/lib -I../lib -mieee -g -O2 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o /home/jayk/src/m4-1.4.14/src/output.c /home/jayk/src/m4-1.4.14/src/output.c: In function 'm4_tmpopen': /home/jayk/src/m4-1.4.14/src/output.c:254:7: warning: implicit declaration of function 'fseeko' fseeko is in stdio.h but guarded: #if _XOPEN_SOURCE>=500 #include <sys/types.h> extern int fseeko __((FILE *, off_t, int)); extern off_t ftello __((FILE *)); bash-4.1$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/jayk/libexec/gcc/alphaev67-dec-osf5.1/4.5.0/lto-wrapper Target: alphaev67-dec-osf5.1 Configured with: /home/jayk/src/gcc-4.5.0/configure -disable-nls -prefix=/home/jayk Thread model: posix gcc version 4.5.0 (GCC) bash-4.1$ uname -a OSF1 hostname V5.1 732 alpha alpha Tru64 - Jay |
|
|
Re: minor warnings compiling m4 wrt fseeko and wctype/constOn 08/18/2010 01:27 PM, Jay K wrote:
> > /home/jayk/src/m4-1.4.14/lib/regcomp.c: In function 'build_charclass': > /home/jayk/src/m4-1.4.14/lib/regcomp.c:3541:3: warning: passing argument 1 of 'wctype' discards qualifiers from pointer target type > /usr/include/wctype.h:103:20: note: expected 'char *' but argument is of type 'const char *' I'm not sure if that has been fixed in gnulib yet or not, but you can find out by testing the recent snapshot: http://lists.gnu.org/archive/html/bug-m4/2010-08/msg00000.html > gcc -std=gnu99 -I/home/jayk/src/m4-1.4.14/lib -I../lib -mieee -g -O2 -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o /home/jayk/src/m4-1.4.14/src/debug.c > /home/jayk/src/m4-1.4.14/src/debug.c: In function 'debug_flush_files': > /home/jayk/src/m4-1.4.14/src/debug.c:194:7: warning: implicit declaration of function 'fseeko' > mv -f .deps/debug.Tpo .deps/debug.Po > gcc -std=gnu99 -I/home/jayk/src/m4-1.4.14/lib -I../lib -mieee -g -O2 -MT eval.o -MD Already fixed in git. I'd release 1.4.15 already, except that there is a regression on AIX that I still haven't been able to figure out. -- Eric Blake eblake@... +1-801-349-2682 Libvirt virtualization library http://libvirt.org |
| Free embeddable forum powered by Nabble | Forum Help |