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

-Wredundant-decls

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2000-12-19 13:09:40 CET

Howdy

The flag -Wredundant-decls is highly annoying on my solaris 2.7 machine using
gcc version 2.8.1, as the system headers seems to declare the same function
(getopt()) multiple times. It gives me no less than 12 warnings on every
source file in libsvn_client (and probably others as well, this module is the
only one I checked and counted in detail).

This flag is only present when I use the --with-maintainer-mode to configure.

This is mostly informational. If the flag makes sense for the more active
developers, then keep it.

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Sat Oct 21 14:36:17 2006

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