From ea4dbce621da4fe720304a82edc85650deab1703 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Mon, 22 Jul 2024 12:17:07 -0500 Subject: [PATCH] remove deprecation warning since we support muptiple standards --- cplusplus/test_euler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cplusplus/test_euler.py b/cplusplus/test_euler.py index 143f3fda..9d667c19 100644 --- a/cplusplus/test_euler.py +++ b/cplusplus/test_euler.py @@ -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: