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

"null format string" warnings on trunk - what to do?

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 4 Apr 2008 11:15:55 +0200

Hi,

I'm getting these warnings compiling current trunk:

subversion/svn/util.c: In function 'svn_cl__merge_file_externally':
subversion/svn/util.c:245: warning: null format string

subversion/svnadmin/main.c: In function 'subcommand_setuuid':
subversion/svnadmin/main.c:1059: warning: null format string

subversion/libsvn_ra_svn/cyrus_auth.c: In function 'svn_ra_svn__get_addresses':
subversion/libsvn_ra_svn/cyrus_auth.c:694: warning: null format string
subversion/libsvn_ra_svn/cyrus_auth.c:698: warning: null format string
subversion/libsvn_ra_svn/cyrus_auth.c:702: warning: null format string
subversion/libsvn_ra_svn/cyrus_auth.c:706: warning: null format string

In all these cases, the argument supplied to the functions in
question is indeed simply NULL.

I don't know whether we should ignore these warnings or not.

I'm using the following gcc version (this is on FreeBSD-7.0):

gcc (GCC) 4.2.1 20070719 [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks,

-- 
Stefan Sperling <stsp_at_elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

  • application/pgp-signature attachment: stored
Received on 2008-04-04 11:14:58 CEST

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.