Skip to content

Commit

Permalink
-Werror in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Nov 21, 2022
1 parent 297a7fe commit 74cdbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sdist/amici/setuptools.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def add_debug_flags_if_required(cxx_flags: List[str],
and os.environ['ENABLE_AMICI_DEBUGGING'] == 'TRUE':
print("ENABLE_AMICI_DEBUGGING was set to TRUE."
" Building AMICI with debug symbols.")
cxx_flags.extend(['-g', '-O0', '-UNDEBUG'])
cxx_flags.extend(['-g', '-O0', '-UNDEBUG', '-Werror'])
linker_flags.extend(['-g'])


Expand Down

0 comments on commit 74cdbf5

Please sign in to comment.