I'm seeing the following warnings when compiling and .c that includes
httpd.h:
/bin/sh /export/home1/blair/Code/SCMs/Subversion/s/libtool --silent --mode=compi
le gcc -DLINUX=2 -D_REENTRANT -DAPR_POOL_DEBUG=1 -D_XOPEN_SOURCE=500 -D_BSD_SOUR
CE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -std=c89 -Wall -Wpointer-arith -Wwrite-s
trings -Wshadow -DSVN_DEBUG -I/usr/kerberos/include -pthread -DNEON_ZLIB -DNE
ON_SSL -I/opt/i386-linux/installed/apache-2.1-cvs-2003061600/include -I./subve
rsion/include -I. -I/export/home1/blair/Code/SCMs/Subversion/s/neon/src -I/opt/i
386-linux/installed/subversion-0.24.1/include/neon -I/usr/kerberos/include -I/
opt/i386-linux/db-4.1/include -I/opt/i386-linux/installed/apache-2.1-cvs-200306
1600/include -I/opt/i386-linux/installed/apache-2.1-cvs-2003061600/include -I/
opt/i386-linux/db-4.1/include -o subversion/mod_dav_svn/activity.lo -c ./subvers
ion/mod_dav_svn/activity.c
In file included from subversion/mod_dav_svn/activity.c:21:
/opt/i386-linux/installed/apache-2.1-cvs-2003061600/include/httpd.h:1456: warnin
g: declaration of `exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/opt/i386-linux/installed/apache-2.1-cvs-2003061600/include/httpd.h:1464: warnin
g: declaration of `exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
This is with gcc 3.3 on RedHat 9. Oddly enough, none of these warnings
show up when I compile httpd-2.1.
Maybe this has something to do with the -std=c89 option. Any ideas?
Best,
Blair
--
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 16 21:50:19 2003