From b601c4876e46eab0bae7306cba0ef545b3298b5e Mon Sep 17 00:00:00 2001 From: Ronan Keryell Date: Mon, 1 Apr 2024 15:36:35 -0700 Subject: [PATCH] Use C++17 by default in aiecc Otherwise it creates a lot of warning with XRT which uses (7-year old) C++17. --- python/compiler/aiecc/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/compiler/aiecc/main.py b/python/compiler/aiecc/main.py index bbb5b6603c..7cbf815095 100644 --- a/python/compiler/aiecc/main.py +++ b/python/compiler/aiecc/main.py @@ -659,7 +659,7 @@ async def process_host_cgen(self, aie_target, file_with_addresses): ], ) - cmd = ["clang++", "-std=c++11"] + cmd = ["clang++", "-std=c++17"] if opts.host_target: cmd += ["--target=" + opts.host_target] if (