bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: minor warnings compiling m4 wrt fseeko and wctype/const


From: Eric Blake
Subject: Re: minor warnings compiling m4 wrt fseeko and wctype/const
Date: Wed, 18 Aug 2010 13:37:01 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

On 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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]