Browse Source

Replace use of -Wno-error and only ignore specific warnings

sbg
Daniel Agar 10 years ago
parent
commit
5b600a815c
  1. 2
      src/examples/fixedwing_control/module.mk
  2. 4
      src/modules/attitude_estimator_ekf/module.mk
  3. 3
      src/modules/commander/module.mk
  4. 3
      src/modules/ekf_att_pos_estimator/module.mk
  5. 3
      src/modules/position_estimator_inav/module.mk
  6. 3
      src/modules/sdlog2/module.mk
  7. 3
      src/modules/vtol_att_control/module.mk
  8. 3
      src/systemcmds/mixer/module.mk
  9. 1
      src/systemcmds/mtd/module.mk
  10. 3
      src/systemcmds/tests/module.mk

2
src/examples/fixedwing_control/module.mk

@ -42,4 +42,4 @@ SRCS = main.c \ @@ -42,4 +42,4 @@ SRCS = main.c \
MODULE_STACKSIZE = 1200
EXTRACFLAGS = -Wno-frame-larger-than
EXTRACFLAGS = -Wframe-larger-than=1200

4
src/modules/attitude_estimator_ekf/module.mk

@ -43,6 +43,6 @@ SRCS = attitude_estimator_ekf_main.cpp \ @@ -43,6 +43,6 @@ SRCS = attitude_estimator_ekf_main.cpp \
MODULE_STACKSIZE = 1200
EXTRACFLAGS = -Wno-float-equal
EXTRACFLAGS = -Wno-float-equal -Wframe-larger-than=3600
EXTRACXXFLAGS = -Wno-frame-larger-than
EXTRACXXFLAGS = -Wframe-larger-than=2200

3
src/modules/commander/module.mk

@ -52,4 +52,5 @@ MODULE_STACKSIZE = 1200 @@ -52,4 +52,5 @@ MODULE_STACKSIZE = 1200
MAXOPTIMIZATION = -Os
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wframe-larger-than=1900

3
src/modules/ekf_att_pos_estimator/module.mk

@ -42,4 +42,5 @@ SRCS = ekf_att_pos_estimator_main.cpp \ @@ -42,4 +42,5 @@ SRCS = ekf_att_pos_estimator_main.cpp \
estimator_23states.cpp \
estimator_utilities.cpp
EXTRACXXFLAGS = -Weffc++ -Wno-error
EXTRACXXFLAGS = -Weffc++ -Wframe-larger-than=3000

3
src/modules/position_estimator_inav/module.mk

@ -42,4 +42,5 @@ SRCS = position_estimator_inav_main.c \ @@ -42,4 +42,5 @@ SRCS = position_estimator_inav_main.c \
MODULE_STACKSIZE = 1200
EXTRACFLAGS = -Wno-error
EXTRACFLAGS = -Wframe-larger-than=3500

3
src/modules/sdlog2/module.mk

@ -46,4 +46,5 @@ MODULE_STACKSIZE = 1200 @@ -46,4 +46,5 @@ MODULE_STACKSIZE = 1200
MAXOPTIMIZATION = -Os
EXTRACFLAGS = -Wno-error
EXTRACFLAGS = -Wframe-larger-than=1200

3
src/modules/vtol_att_control/module.mk

@ -40,4 +40,5 @@ MODULE_COMMAND = vtol_att_control @@ -40,4 +40,5 @@ MODULE_COMMAND = vtol_att_control
SRCS = vtol_att_control_main.cpp \
vtol_att_control_params.c
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wno-write-strings

3
src/systemcmds/mixer/module.mk

@ -42,4 +42,5 @@ MODULE_STACKSIZE = 4096 @@ -42,4 +42,5 @@ MODULE_STACKSIZE = 4096
MAXOPTIMIZATION = -Os
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wframe-larger-than=2048

1
src/systemcmds/mtd/module.mk

@ -8,3 +8,4 @@ SRCS = mtd.c 24xxxx_mtd.c @@ -8,3 +8,4 @@ SRCS = mtd.c 24xxxx_mtd.c
MAXOPTIMIZATION = -Os
EXTRACFLAGS = -Wno-error

3
src/systemcmds/tests/module.mk

@ -35,4 +35,5 @@ SRCS = test_adc.c \ @@ -35,4 +35,5 @@ SRCS = test_adc.c \
test_mount.c \
test_mtd.c
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wframe-larger-than=2500

Loading…
Cancel
Save