On Wed, 2008-04-16 at 08:44 -0400, Georg Lukas wrote:
> * Holger Schurig <hs4233@...> [2008-04-16 08:39]:
> > So I think -Werror should only be on in SVN, but not in
> > distribution tarballs.
> Well said! I second that.
> Maybe we can make it conditionally depend on the presence of svn (or
> maybe also git ;)
Yes, we can. This patch uses the fact that svnversion.h is empty in
--- Makefile.inc (revision 3545)
+++ Makefile.inc (working copy)
@@ -147,7 +147,11 @@
+ifeq (,$(shell cat $(TOP)/svnversion.h))
WARNINGS = -Werror
INCS= -include $(TOP)/include/compat.h -I$(TOP)/include