From 143af1098d7a189a2ebb27896474a1dd37c6f289 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Tue, 14 Jul 2026 18:55:29 +0200 Subject: [PATCH] Codechange: remove support for ICC (Intel's deprecated compiler) --- cmake/CompileFlags.cmake | 12 ------------ src/survey.cpp | 6 ------ 2 files changed, 18 deletions(-) diff --git a/cmake/CompileFlags.cmake b/cmake/CompileFlags.cmake index e0111e821b..b86290ebe2 100644 --- a/cmake/CompileFlags.cmake +++ b/cmake/CompileFlags.cmake @@ -126,18 +126,6 @@ macro(compile_flags) endif() endif() endif() - elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel") - add_compile_options( - -Wall - # warning #873: function ... ::operator new ... has no corresponding operator delete ... - -wd873 - # warning #1292: unknown attribute "fallthrough" - -wd1292 - # warning #1899: multicharacter character literal (potential portability problem) - -wd1899 - # warning #2160: anonymous union qualifier is ignored - -wd2160 - ) else() message(FATAL_ERROR "No warning flags are set for this compiler yet; please consider creating a Pull Request to add support for this compiler.") endif() diff --git a/src/survey.cpp b/src/survey.cpp index ff5cd3ea4e..e8e3b2ea46 100644 --- a/src/survey.cpp +++ b/src/survey.cpp @@ -189,12 +189,6 @@ void SurveyCompiler(nlohmann::json &survey) #if defined(_MSC_VER) survey["name"] = "MSVC"; survey["version"] = _MSC_VER; -#elif defined(__ICC) && defined(__GNUC__) - survey["name"] = "ICC"; - survey["version"] = __ICC; -# if defined(__GNUC__) - survey["extra"] = fmt::format("GCC {}.{}.{} mode", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); -# endif #elif defined(__GNUC__) survey["name"] = "GCC"; survey["version"] = fmt::format("{}.{}.{}", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);