Skip to content

Commit

Permalink
strict fpmodel
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Nov 12, 2024
1 parent 4fc4266 commit 58466ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if fc_id == 'intel-cl'
elif fc_id == 'intel'
# linux and macOS
compile_args += ['-fpe0', # Activate all floating point exceptions
'-fp-model=strict',
'-no-heap-arrays',
'-traceback',
'-diag-disable:7416', # f2008 warning
Expand All @@ -85,6 +86,7 @@ elif fc_id == 'intel'
elif fc_id == 'intel-llvm-cl'
# windows
compile_args += ['/fpe:0', # Activate all floating point exceptions
'-fp-model=strict',
'/heap-arrays:0',
'/traceback',
'/fpp', # Activate preprocessing
Expand Down

0 comments on commit 58466ee

Please sign in to comment.