From 4742f4ce1c165491e77edc85bf6dd60611e413b6 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 5 Sep 2020 14:22:22 -0400 Subject: [PATCH] clang build won't quietly allow missing return statement --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5662c33cd..c2a588611 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1016,6 +1016,7 @@ list( APPEND OPTIONS PRIVATE $<$:/permissive-> $<$:-Wno-underaligned-exception-object> + $<$:-Werror=return-type> ) list( APPEND LDFLAGS