mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-15 15:19:52 +00:00
Codechange: remove support for ICC (Intel's deprecated compiler)
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user