Browse Source

NuttX build flags: Remove trivial warnings

sbg
Lorenz Meier 9 years ago
parent
commit
c326189ce8
  1. 3
      nuttx-configs/px4fmu-v1/nsh/Make.defs
  2. 3
      nuttx-configs/px4fmu-v2/nsh/Make.defs
  3. 3
      nuttx-configs/px4io-v1/nsh/Make.defs
  4. 3
      nuttx-configs/px4io-v2/nsh/Make.defs

3
nuttx-configs/px4fmu-v1/nsh/Make.defs

@ -124,11 +124,9 @@ ARCHWARNINGS = -Wall \ @@ -124,11 +124,9 @@ ARCHWARNINGS = -Wall \
-Wextra \
-Wdouble-promotion \
-Wshadow \
-Wfloat-equal \
-Wframe-larger-than=1024 \
-Wpointer-arith \
-Wlogical-op \
-Wmissing-declarations \
-Wpacked \
-Wno-unused-parameter
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
@ -140,7 +138,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \ @@ -140,7 +138,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
-Wstrict-prototypes \
-Wold-style-declaration \
-Wmissing-parameter-type \
-Wmissing-prototypes \
-Wnested-externs
ARCHWARNINGSXX = $(ARCHWARNINGS) \
-Wno-psabi

3
nuttx-configs/px4fmu-v2/nsh/Make.defs

@ -124,11 +124,9 @@ ARCHWARNINGS = -Wall \ @@ -124,11 +124,9 @@ ARCHWARNINGS = -Wall \
-Wextra \
-Wdouble-promotion \
-Wshadow \
-Wfloat-equal \
-Wframe-larger-than=1024 \
-Wpointer-arith \
-Wlogical-op \
-Wmissing-declarations \
-Wpacked \
-Wno-unused-parameter
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
@ -140,7 +138,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \ @@ -140,7 +138,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
-Wstrict-prototypes \
-Wold-style-declaration \
-Wmissing-parameter-type \
-Wmissing-prototypes \
-Wnested-externs
ARCHWARNINGSXX = $(ARCHWARNINGS) \
-Wno-psabi

3
nuttx-configs/px4io-v1/nsh/Make.defs

@ -117,11 +117,9 @@ ARCHWARNINGS = -Wall \ @@ -117,11 +117,9 @@ ARCHWARNINGS = -Wall \
-Wextra \
-Wdouble-promotion \
-Wshadow \
-Wfloat-equal \
-Wframe-larger-than=1024 \
-Wpointer-arith \
-Wlogical-op \
-Wmissing-declarations \
-Wpacked \
-Wno-unused-parameter
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
@ -133,7 +131,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \ @@ -133,7 +131,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
-Wstrict-prototypes \
-Wold-style-declaration \
-Wmissing-parameter-type \
-Wmissing-prototypes \
-Wnested-externs
ARCHWARNINGSXX = $(ARCHWARNINGS)
ARCHDEFINES =

3
nuttx-configs/px4io-v2/nsh/Make.defs

@ -117,11 +117,9 @@ ARCHWARNINGS = -Wall \ @@ -117,11 +117,9 @@ ARCHWARNINGS = -Wall \
-Wextra \
-Wdouble-promotion \
-Wshadow \
-Wfloat-equal \
-Wframe-larger-than=1024 \
-Wpointer-arith \
-Wlogical-op \
-Wmissing-declarations \
-Wpacked \
-Wno-unused-parameter
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
@ -133,7 +131,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \ @@ -133,7 +131,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
-Wstrict-prototypes \
-Wold-style-declaration \
-Wmissing-parameter-type \
-Wmissing-prototypes \
-Wnested-externs
ARCHWARNINGSXX = $(ARCHWARNINGS)
ARCHDEFINES =

Loading…
Cancel
Save