Skip to content

Commit

Permalink
Remove some warnings in STRICT_MODE_OFF
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Feb 19, 2017
1 parent 158e855 commit 3bd1e1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion AirLib/include/common/common_utils/StrictMode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
_Pragma("GCC diagnostic ignored \"-Wshadow\"") \
_Pragma("GCC diagnostic ignored \"-Wswitch-default\"") \
_Pragma("GCC diagnostic ignored \"-Wundef\"") \
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"")
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
_Pragma("GCC diagnostic ignored \"-Wstrict-overflow\"") \
_Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")

/* Addition options that can be enabled
_Pragma("GCC diagnostic ignored \"-Wpedantic\"") \
Expand Down
4 changes: 3 additions & 1 deletion MavLinkCom/common_utils/StrictMode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
_Pragma("GCC diagnostic ignored \"-Wshadow\"") \
_Pragma("GCC diagnostic ignored \"-Wswitch-default\"") \
_Pragma("GCC diagnostic ignored \"-Wundef\"") \
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"")
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
_Pragma("GCC diagnostic ignored \"-Wstrict-overflow\"") \
_Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")

/* Addition options that can be enabled
_Pragma("GCC diagnostic ignored \"-Wpedantic\"") \
Expand Down

0 comments on commit 3bd1e1d

Please sign in to comment.