From 273aa846d54957f2e1ba943af9b598eb91bfcb97 Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Thu, 13 Apr 2023 11:23:33 -0700 Subject: [PATCH] Less pedantic compile warnings --- src/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e956264..e1d0788 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -45,9 +45,7 @@ if (MSVC) ) else() target_compile_options(neural_amp_modeler PRIVATE - -Wall -Wextra -Wpedantic -Wshadow -Wstrict-aliasing - -Wunreachable-code -Wdouble-promotion -Weffc++ -Wconversion - -Wsign-conversion + -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wunreachable-code -Weffc++ -Wno-unused-parameter "$<$:-Og;-ggdb;-Werror>" "$<$:-Ofast>" )