Skip to content

Commit

Permalink
disable deprecation warning (since C99 is support target)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 5, 2024
1 parent 369b40e commit 3a01caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c/test_euler.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@
EXE_TEMPLATE = "{}{}p{{:0>4}}.{{}}.{}".format(BUILD_FOLDER, sep, EXE_EXT)
# include sep in the recipe so that Windows won't complain

GCC_TEMPLATE = "{} {{}} -O2 -lm -Wall -Werror -std={} -march=native -flto -fwhole-program -o {{}}"
CLANG_TEMPLATE = "{} {{}} -O2 {} {} -Wall -Werror -std={} {} -o {{}}"
GCC_TEMPLATE = "{} {{}} -O2 -lm -Wall -Wno-deprecated-declarations -Werror -std={} -march=native -flto -fwhole-program -o {{}}"
CLANG_TEMPLATE = "{} {{}} -O2 {} {} -Wall -Wno-deprecated-declarations -Werror -std={} {} -o {{}}"
if environ.get('COV') == 'true':
GCC_TEMPLATE = GCC_TEMPLATE.replace('-O2', '-O1') + ' --coverage'
CLANG_TEMPLATE = CLANG_TEMPLATE.replace('-O2', '-O1') + ' --coverage'
Expand Down

0 comments on commit 3a01caf

Please sign in to comment.