[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: nls.c and svn_nls.h (new files): insufficient #include statements

From: David James <james82_at_gmail.com>
Date: 2005-07-25 19:33:49 CEST

On 7/25/05, Julian Foad <julianfoad@btopenworld.com> wrote:
> I can recommend the following method of checking whether a header file can
> stand alone: try to compile it as if it were a C file. This is from my
> "check-source.sh" script:
Hey, nice script! Perhaps we should add it to the test suite? Then
we'd know right away if one of the header files has broken



> echo "Check that each header file includes what it needs."
> for HEADER in subversion/include/*.h; do
> -Wundef -Wendif-labels -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
> -Wredundant-decls -Wnested-externs -g -Wmissing-declarations -pthread
> -DNEON_ZLIB -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith -Wwrite-strings -Wshadow
> -I/usr/include/apache2 -I./subversion/include -I./subversion -I./neon/src
> -I/usr/local/include/neon -I/home/julianfoad/build/subversion/apr/include
> -I./apr/include -I/home/julianfoad/build/subversion/apr-util/include
> -I./apr-util/include -o compiled-header.tmp -x c -c $HEADER
> done
Shall we add this

David James -- http://www.cs.toronto.edu/~james
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 25 19:35:10 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.