Skip to content

Commit

Permalink
remove deprecation warning since we support muptiple standards
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 22, 2024
1 parent 163cc13 commit ea4dbce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cplusplus/test_euler.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@
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 -lstdc++ -lm -Wall -Werror -std={} -march=native -flto -fwhole-program -o {{}}"
GCC_TEMPLATE = "{} {{}} -O2 -lstdc++ -lm -Wall -Werror -Wno-deprecated-declarations -std={} -march=native -flto -fwhole-program -o {{}}"
if environ.get('COV') == 'true':
GCC_TEMPLATE += ' -ftest-coverage -fprofile-arcs'
CLANG_TEMPLATE = "{} {{}} -O2 -lstdc++ {} {} -Wall -Werror -std={} {} -o {{}}"
CLANG_TEMPLATE = "{} {{}} -O2 -lstdc++ {} {} -Wall -Werror -Wno-deprecated-declarations -std={} {} -o {{}}"

templates = {}
for std in STANDARDS:
Expand Down

0 comments on commit ea4dbce

Please sign in to comment.