mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
NuttX build flags: Remove trivial warnings
This commit is contained in:
@@ -124,11 +124,9 @@ ARCHWARNINGS = -Wall \
|
|||||||
-Wextra \
|
-Wextra \
|
||||||
-Wdouble-promotion \
|
-Wdouble-promotion \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
-Wfloat-equal \
|
|
||||||
-Wframe-larger-than=1024 \
|
-Wframe-larger-than=1024 \
|
||||||
-Wpointer-arith \
|
-Wpointer-arith \
|
||||||
-Wlogical-op \
|
-Wlogical-op \
|
||||||
-Wmissing-declarations \
|
|
||||||
-Wpacked \
|
-Wpacked \
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
||||||
@@ -140,7 +138,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
|
|||||||
-Wstrict-prototypes \
|
-Wstrict-prototypes \
|
||||||
-Wold-style-declaration \
|
-Wold-style-declaration \
|
||||||
-Wmissing-parameter-type \
|
-Wmissing-parameter-type \
|
||||||
-Wmissing-prototypes \
|
|
||||||
-Wnested-externs
|
-Wnested-externs
|
||||||
ARCHWARNINGSXX = $(ARCHWARNINGS) \
|
ARCHWARNINGSXX = $(ARCHWARNINGS) \
|
||||||
-Wno-psabi
|
-Wno-psabi
|
||||||
|
|||||||
@@ -124,11 +124,9 @@ ARCHWARNINGS = -Wall \
|
|||||||
-Wextra \
|
-Wextra \
|
||||||
-Wdouble-promotion \
|
-Wdouble-promotion \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
-Wfloat-equal \
|
|
||||||
-Wframe-larger-than=1024 \
|
-Wframe-larger-than=1024 \
|
||||||
-Wpointer-arith \
|
-Wpointer-arith \
|
||||||
-Wlogical-op \
|
-Wlogical-op \
|
||||||
-Wmissing-declarations \
|
|
||||||
-Wpacked \
|
-Wpacked \
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
||||||
@@ -140,7 +138,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
|
|||||||
-Wstrict-prototypes \
|
-Wstrict-prototypes \
|
||||||
-Wold-style-declaration \
|
-Wold-style-declaration \
|
||||||
-Wmissing-parameter-type \
|
-Wmissing-parameter-type \
|
||||||
-Wmissing-prototypes \
|
|
||||||
-Wnested-externs
|
-Wnested-externs
|
||||||
ARCHWARNINGSXX = $(ARCHWARNINGS) \
|
ARCHWARNINGSXX = $(ARCHWARNINGS) \
|
||||||
-Wno-psabi
|
-Wno-psabi
|
||||||
|
|||||||
@@ -117,11 +117,9 @@ ARCHWARNINGS = -Wall \
|
|||||||
-Wextra \
|
-Wextra \
|
||||||
-Wdouble-promotion \
|
-Wdouble-promotion \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
-Wfloat-equal \
|
|
||||||
-Wframe-larger-than=1024 \
|
-Wframe-larger-than=1024 \
|
||||||
-Wpointer-arith \
|
-Wpointer-arith \
|
||||||
-Wlogical-op \
|
-Wlogical-op \
|
||||||
-Wmissing-declarations \
|
|
||||||
-Wpacked \
|
-Wpacked \
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
||||||
@@ -133,7 +131,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
|
|||||||
-Wstrict-prototypes \
|
-Wstrict-prototypes \
|
||||||
-Wold-style-declaration \
|
-Wold-style-declaration \
|
||||||
-Wmissing-parameter-type \
|
-Wmissing-parameter-type \
|
||||||
-Wmissing-prototypes \
|
|
||||||
-Wnested-externs
|
-Wnested-externs
|
||||||
ARCHWARNINGSXX = $(ARCHWARNINGS)
|
ARCHWARNINGSXX = $(ARCHWARNINGS)
|
||||||
ARCHDEFINES =
|
ARCHDEFINES =
|
||||||
|
|||||||
@@ -117,11 +117,9 @@ ARCHWARNINGS = -Wall \
|
|||||||
-Wextra \
|
-Wextra \
|
||||||
-Wdouble-promotion \
|
-Wdouble-promotion \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
-Wfloat-equal \
|
|
||||||
-Wframe-larger-than=1024 \
|
-Wframe-larger-than=1024 \
|
||||||
-Wpointer-arith \
|
-Wpointer-arith \
|
||||||
-Wlogical-op \
|
-Wlogical-op \
|
||||||
-Wmissing-declarations \
|
|
||||||
-Wpacked \
|
-Wpacked \
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
||||||
@@ -133,7 +131,6 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
|
|||||||
-Wstrict-prototypes \
|
-Wstrict-prototypes \
|
||||||
-Wold-style-declaration \
|
-Wold-style-declaration \
|
||||||
-Wmissing-parameter-type \
|
-Wmissing-parameter-type \
|
||||||
-Wmissing-prototypes \
|
|
||||||
-Wnested-externs
|
-Wnested-externs
|
||||||
ARCHWARNINGSXX = $(ARCHWARNINGS)
|
ARCHWARNINGSXX = $(ARCHWARNINGS)
|
||||||
ARCHDEFINES =
|
ARCHDEFINES =
|
||||||
|
|||||||
Reference in New Issue
Block a user