Skip to content

Commit 7cfa6bc

Browse files
committed
macos: clang: set to cxx11 standard avoid 'auto' not allowed issues
- https://forum.d2learn.org/topic/119 Signed-off-by: sunrisepeak <speakshen@163.com>
1 parent 57a21e2 commit 7cfa6bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dslings/xmake.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if is_host("windows") then
55
end
66

77
target("00-0-hello-mcpp")
8+
set_languages("cxx11")
89
add_files("hello-mcpp.cpp")
910

1011
includes("cpp11")

0 commit comments

Comments
 (0)