🔇 suppress warning #2196: routine is both "inline" and "noinline"

This commit is contained in:
Niels Lohmann 2022-05-01 09:48:28 +02:00
parent e1190d6fb1
commit f9dfd634b1
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -49,6 +49,9 @@ target_compile_options(test_main PUBLIC
# https://github.com/nlohmann/json/issues/1114
$<$<CXX_COMPILER_ID:MSVC>:/bigobj> $<$<BOOL:${MINGW}>:-Wa,-mbig-obj>
# https://github.com/nlohmann/json/pull/3229
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated;-Wno-float-equal>
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations>
)