diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b5b715c..274000e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,7 +299,7 @@ elseif (CMAKE_C_COMPILER_ID STREQUAL "Intel") # = 1: Force pointer cast memory access # (only effective when STRICT=1) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPORTABLE_MEM_PTR_ACCESS=0") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPORTABLE_MEM_PTR_ACCESS=1") # = 1 : DebugMake sure we know which branch of pmemaccess.h we use, this will fail build. # (only effective when STRICT=1)