From 7fed6ca73da96a7733189d30ba7d6b569381b2ea Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Mon, 15 Jun 2020 16:43:22 +0100 Subject: [PATCH] Enable -Wall for compilation This gives some useful warnings for less significant issues. Warnings for reordering are left disabled as they are rather pedantic and serve little benefit. --- app/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index b7091d91..1d685c69 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -119,4 +119,4 @@ add_library(skyline SHARED ) target_link_libraries(skyline vulkan android fmt tinyxml2 oboe lz4_static) -target_compile_options(skyline PRIVATE -Wno-c++17-extensions) +target_compile_options(skyline PRIVATE -Wno-c++17-extensions -Wall -Wno-reorder -Wno-missing-braces -Wno-unused-variable -Wno-unused-private-field)