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

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

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-07-24 01:50:07 CEST

subversion/include/svn_nls.h needs to include "svn_types.h" to get the
declaration of svn_error_t, so that it can stand alone (i.e. it should not
require other files to have been included before it).

subversion/libsvn_subr/nls.c needs to include svn_nls.h to get the prototypes
of the functions that it implements, so that they can be verified to have the
same signature. I choose to have a compiler warning when that is not done. It
should include it before any other Subversion header files (and, ideally,
before any other header files) to verify that "svn_nls.h" has no prerequisites.

I can do this if you want - just say so.

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 24 01:51:45 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.