Skip to content

Commit f9dfd63

Browse files
committed
🔇 suppress warning #2196: routine is both "inline" and "noinline"
1 parent e1190d6 commit f9dfd63

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ target_compile_options(test_main PUBLIC
4949
# https://github.com/nlohmann/json/issues/1114
5050
$<$<CXX_COMPILER_ID:MSVC>:/bigobj> $<$<BOOL:${MINGW}>:-Wa,-mbig-obj>
5151

52+
# https://github.com/nlohmann/json/pull/3229
53+
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196>
54+
5255
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated;-Wno-float-equal>
5356
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations>
5457
)

0 commit comments

Comments
 (0)