As agreed upon with Henning some time ago, -Werror should not
authorL. Aaron Kaplan <aaron@lo-res.org>
Sat, 22 Aug 2009 21:36:37 +0000 (23:36 +0200)
committerL. Aaron Kaplan <aaron@lo-res.org>
Sat, 22 Aug 2009 21:36:37 +0000 (23:36 +0200)
be enabled in the stable branch. Why?
Because the life cycle of -stable is longer and compilers
on many different OSes have to be supported. The compilers
and their warnings might change however. So therefore a now
-Wall -Werror clean build might not be clean some time in the
future without a single line of change inside of olsrd.
So therefore, disable -Werror in the -stable branch.

Makefile.inc

index bdbd833..9b9a731 100644 (file)
@@ -92,7 +92,7 @@ endif
 #WARNINGS +=   -Wunreachable-code
 WARNINGS +=    -Winline
 WARNINGS +=    -Wdisabled-optimization
-WARNINGS +=    -Werror
+#WARNINGS +=   -Werror
 WARNINGS +=    -finline-functions-called-once
 WARNINGS +=    -funit-at-a-time
 WARNINGS +=    -fearly-inlining