aboutsummaryrefslogtreecommitdiff
path: root/makefiles/toolchain_gnu-arm-eabi.mk
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-01-23 07:16:07 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-01-23 07:16:07 +0100
commit1ad6e00234e990d44f2a9ca93bcc50696c4c530c (patch)
tree37dbbff01758a79615ee293066599d7b11120f99 /makefiles/toolchain_gnu-arm-eabi.mk
parent1e504478a00f08c4d7ab381aa9bec5cdbee5513f (diff)
downloadpx4-firmware-1ad6e00234e990d44f2a9ca93bcc50696c4c530c.tar.gz
px4-firmware-1ad6e00234e990d44f2a9ca93bcc50696c4c530c.tar.bz2
px4-firmware-1ad6e00234e990d44f2a9ca93bcc50696c4c530c.zip
re-enable warnings/errors
Diffstat (limited to 'makefiles/toolchain_gnu-arm-eabi.mk')
-rw-r--r--makefiles/toolchain_gnu-arm-eabi.mk40
1 files changed, 20 insertions, 20 deletions
diff --git a/makefiles/toolchain_gnu-arm-eabi.mk b/makefiles/toolchain_gnu-arm-eabi.mk
index d38ef645f..396980453 100644
--- a/makefiles/toolchain_gnu-arm-eabi.mk
+++ b/makefiles/toolchain_gnu-arm-eabi.mk
@@ -125,26 +125,26 @@ ARCHCXXFLAGS = -fno-exceptions -fno-rtti -std=gnu++0x -fno-threadsafe-statics
# Generic warnings
#
-# ARCHWARNINGS = -Wall \
- # -Wextra \
- # -Werror \
- # -Wdouble-promotion \
- # -Wshadow \
- # -Wfloat-equal \
- # -Wframe-larger-than=1024 \
- # -Wpointer-arith \
- # -Wlogical-op \
- # -Wmissing-declarations \
- # -Wpacked \
- # -Wno-unused-parameter \
- # -Werror=format-security \
- # -Werror=array-bounds \
- # -Wfatal-errors \
- # -Wformat=1 \
- # -Werror=unused-but-set-variable \
- # -Werror=unused-variable \
- # -Werror=double-promotion \
- # -Werror=reorder
+ARCHWARNINGS = -Wall \
+ -Wextra \
+ -Werror \
+ -Wdouble-promotion \
+ -Wshadow \
+ -Wfloat-equal \
+ -Wframe-larger-than=1024 \
+ -Wpointer-arith \
+ -Wlogical-op \
+ -Wmissing-declarations \
+ -Wpacked \
+ -Wno-unused-parameter \
+ -Werror=format-security \
+ -Werror=array-bounds \
+ -Wfatal-errors \
+ -Wformat=1 \
+ -Werror=unused-but-set-variable \
+ -Werror=unused-variable \
+ -Werror=double-promotion \
+ -Werror=reorder
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
# -Wconversion - would be nice, but too many "risky-but-safe" conversions in the code
# -Wcast-align - would help catch bad casts in some cases, but generates too many false positives