Skip to content

Commit

Permalink
no strict aliasing typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed May 16, 2024
1 parent cbdf7fc commit 3e88b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ${{ matrix.img.os }}

env:
FC: gfortran-12
FC: gfortran-13

steps:

Expand Down
4 changes: 2 additions & 2 deletions cmake/compilers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ if(CMAKE_C_COMPILER_ID MATCHES "^Intel")
endif()

add_compile_options($<$<COMPILE_LANG_AND_ID:C,IntelLLVM>:$<IF:$<BOOL:${WIN32}>,/Qopenmp,-fiopenmp>>)
elseif(CMAKE_C_COMPILER_ID STREQUAL "Clang|GNU")
add_compile_options($<$<COMPILE_LANGUAGE:C>:-Werror-implicit-function-declaration;-fno-strict-aliasing>)
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang|GNU")
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Werror-implicit-function-declaration;-fno-strict-aliasing>")
endif()


Expand Down

0 comments on commit 3e88b1a

Please sign in to comment.