We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d7a2e commit 8da5a57Copy full SHA for 8da5a57
cmake/compilers.cmake
@@ -136,8 +136,9 @@ add_compile_options(-Wall -Wextra
136
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
137
add_compile_options(
138
"$<$<COMPILE_LANGUAGE:Fortran>:-warn>"
139
-"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<NOT:$<BOOL:${WIN32}>>>:-fpscomp;logicals>"
+"$<$<COMPILE_LANGUAGE:Fortran>:-standard-semantics>"
140
"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:Debug,RelWithDebInfo>>:-traceback;-check;-debug>"
141
$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:Debug>>:-O0>
142
)
143
+# https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-1/standard-semantics.html
144
endif()
0 commit comments