diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-06-10 09:45:56 +0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-11-20 16:34:01 +0300 |
commit | c955464d7a9be12d1cc8a249291cfda54c0b7571 (patch) | |
tree | 722ce198d093c5ddd34fdd6e084bf91c2b425009 /CMakeLists.txt | |
parent | 6228df9de91d4047ca89f7db670788f3d9b51170 (diff) |
enable extra compiler checks
Let's enforce additional automatic checks enforced by the compiler in
order to catch possible errors during compilation.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 57804cf..7a86854 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ INCLUDE(CheckLibraryExists) INCLUDE(CheckFunctionExists) PROJECT(ubox C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) +ADD_DEFINITIONS(-Os -Wextra -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations -Wno-unused-parameter) OPTION(BUILD_LUA "build Lua plugin" ON) OPTION(BUILD_EXAMPLES "build examples" ON) |