From f9dfd634b167b4f5d05a976b565381e1e890dbc7 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 1 May 2022 09:48:28 +0200 Subject: [PATCH] :mute: suppress warning #2196: routine is both "inline" and "noinline" --- tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1d5c78697..80966bc34 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -49,6 +49,9 @@ target_compile_options(test_main PUBLIC # https://github.com/nlohmann/json/issues/1114 $<$:/bigobj> $<$:-Wa,-mbig-obj> + # https://github.com/nlohmann/json/pull/3229 + $<$:-diag-disable=2196> + $<$>:-Wno-deprecated;-Wno-float-equal> $<$:-Wno-deprecated-declarations> )