httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <...@dotat.at>
Subject Re: Can we get rid of %qd?
Date Fri, 21 May 1999 13:38:34 GMT
Jim Jagielski <jim@devsys.jaguNET.com> wrote:
>Ralf S. Engelschall wrote:
>> 
>> Does anyone know how we can get rid of this warning the correct way?
>> It nerves me because it's the only remaining warning with EGCS 1.1.2....
>> 
>> egcc -c  -I../../os/unix -I../../include   -funsigned-char -DTARGET=\"apache\"
>>    -pipe -O2 -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align
>>    -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
>>    `../../apaci` mod_include.c
>> mod_include.c: In function `handle_fsize':
>> mod_include.c:1139: warning: ANSI C does not support the `q' length modifier
>> 
>> :> grep -n %q src/modules/standard/mod_include.c 
>> 1138:                    /* ap_snprintf can't handle %qd */
>> 1139:                    sprintf(tag, "%qd", finfo.st_size);
>
>What does the 'q' qualifier mean/do ?

Like 'l' but for quadwords (64 bit).

Tony.
-- 
f.a.n.finch   dot@dotat.at   fanf@demon.net   black dog

Mime
View raw message