httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: warnings
Date Wed, 08 Oct 1997 18:54:27 GMT
No that's a result of me turning on gcc printf-style warnings for
ap_snprintf.

ap_snprintf(grpname, 16, "%d", user_gid);

These are annoying ... 'cause you really want %u on some machines and %d
on others.  We could cast to an (int) to shut up the warning.  grr.

-- 
Dean Gaudet, Performance Analyst, Transmeta Corp.

On Wed, 8 Oct 1997, Roy T. Fielding wrote:

> In this morning's snapshot, which means in 1.3b1 as well
> 
> gcc -c  -I../os/unix -I../main   -O2 -DSOLARIS2=250 -DSTATUS -g -Wall -DDEFAULT_LOGLEVEL=7
 util_script.c
> util_script.c: In function `call_exec':
> util_script.c:799: warning: int format, gid_t arg (arg 4)
> util_script.c:807: warning: int format, uid_t arg (arg 6)
> util_script.c:814: warning: int format, gid_t arg (arg 6)
> 
> probably due to backing-out that patch.
> 
> ....Roy
> 


Mime
View raw message