Skip to content

Commit

Permalink
asl2c: C++ backends must use at least c++17
Browse files Browse the repository at this point in the history
Signed-off-by: Alastair Reid <alastair.d.reid@gmail.com>
  • Loading branch information
alastairreid committed Dec 21, 2024
1 parent 5ecf22e commit 7d8877a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/asl2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ def compile_and_link(use_cxx, c_files, exe_file, include_directory, c_flags, ld_
# exit(1)
# cc.append(f'-I{ac_types_dir}/include')
cc.append('-lstdc++')
cc.append('-std=c++17')
else:
cc.append('-std=c2x')
cc_cmd = cc + [
Expand Down

0 comments on commit 7d8877a

Please sign in to comment.