From e6472da5f19fca749e9aa0c1d4579931312357c9 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Tue, 1 Oct 2019 14:35:25 +0200 Subject: [PATCH] error on missing return type --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28a654b05..19cb805c2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,7 @@ target_compile_options(slsProjectWarnings INTERFACE -Wredundant-decls # -Wconversion -Wdouble-promotion + -Werror=return-type )