diff options
| author | Petr Štetiar | 2019-06-10 06:45:56 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2019-11-20 13:34:01 +0000 |
| commit | c955464d7a9be12d1cc8a249291cfda54c0b7571 (patch) | |
| tree | 722ce198d093c5ddd34fdd6e084bf91c2b425009 | |
| parent | 6228df9de91d4047ca89f7db670788f3d9b51170 (diff) | |
| download | libubox-c955464d7a9be12d1cc8a249291cfda54c0b7571.tar.gz | |
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>
| -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) |