From fdc83086b5cb37b52f36b59773ac9ce12ba3b16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20Fahn=C3=B8e=20J=C3=B8rgensen?= Date: Tue, 12 Mar 2024 14:26:45 +0100 Subject: [PATCH] Use defaults for ICC compiler --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 274000e8..e17cb390 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -295,15 +295,15 @@ elseif (CMAKE_C_COMPILER_ID STREQUAL "Intel") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -wd169 -wd279") # = 1 (default) : Use new strict flatcc_accessor implementation - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DFLATCC_STRICT=1") + #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DFLATCC_STRICT=1") # = 1: Force pointer cast memory access # (only effective when STRICT=1) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPORTABLE_MEM_PTR_ACCESS=1") + #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPORTABLE_MEM_PTR_ACCESS=0") # = 1 : DebugMake sure we know which branch of pmemaccess.h we use, this will fail build. # (only effective when STRICT=1) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPORTABLE_MEM_ACCESS_DEBUG=0") + #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPORTABLE_MEM_ACCESS_DEBUG=0") elseif (MSVC) # using STREQUAL here conflicts with string interpretation changes in CMake message(STATUS "Setting MSVC C compiler options")