diff options
author | px4dev <px4@purgatory.org> | 2013-01-12 12:08:03 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-01-12 12:08:03 -0800 |
commit | 6d301710d97c3812a5f1e6c26415461b2fe92f58 (patch) | |
tree | 86b3d37cc13ed9f4d097c7f6d1ea0b48d38c5d20 /apps/mathlib/CMSIS/Makefile | |
parent | 2f94a7a2b71b569361bf4772638fc2c6aa7faef0 (diff) | |
download | px4-firmware-6d301710d97c3812a5f1e6c26415461b2fe92f58.tar.gz px4-firmware-6d301710d97c3812a5f1e6c26415461b2fe92f58.tar.bz2 px4-firmware-6d301710d97c3812a5f1e6c26415461b2fe92f58.zip |
Suppress warnings from ARM's DSP_Lib code that are spamming developers to no benefit.
Addresses #149
Diffstat (limited to 'apps/mathlib/CMSIS/Makefile')
-rw-r--r-- | apps/mathlib/CMSIS/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/mathlib/CMSIS/Makefile b/apps/mathlib/CMSIS/Makefile index fa5de668a..9e28518bc 100644 --- a/apps/mathlib/CMSIS/Makefile +++ b/apps/mathlib/CMSIS/Makefile @@ -45,6 +45,13 @@ INCLUDES += $(DSPLIB_SRCDIR)/Include \ $(DSPLIB_SRCDIR)/Device/ARM/ARMCM4/Include \ $(DSPLIB_SRCDIR)/Device/ARM/ARMCM3/Include +# Suppress some warnings that ARM should fix, but haven't. +EXTRADEFINES += -Wno-unsuffixed-float-constants \ + -Wno-sign-compare \ + -Wno-shadow \ + -Wno-float-equal \ + -Wno-unused-variable + # # Override the default visibility for symbols, since the CMSIS DSPLib doesn't # have anything we can use to mark exported symbols. |