[Olsr-dev] [PATCH v1 07/12] Makefile: WARNINGS: add -Wsync-nand
Ferry Huberts
(spam-protected)
Tue May 29 15:59:36 CEST 2012
From: Ferry Huberts <(spam-protected)>
-Wsync-nand (C and C++ only)
Warn when "__sync_fetch_and_nand" and "__sync_nand_and_fetch"
built-in functions are used. These functions changed semantics
in GCC 4.4.
Signed-off-by: Ferry Huberts <(spam-protected)>
---
Makefile.inc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 4d4e35e..d72fdf4 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -94,6 +94,7 @@ WARNINGS += -Wformat-security
WARNINGS += -Wformat-y2k
WARNINGS += -Winit-self
WARNINGS += -Wswitch-default
+WARNINGS += -Wsync-nand
# the following 2 do not work yet and need more work on it
#WARNINGS += -Wconversion
#WARNINGS += -Wredundant-decls
--
1.7.7.6
More information about the Olsr-dev
mailing list