Skip to content

Commit d54dc1d

Browse files
committed
bugfix: config c++17 to workaround constexpr issue on macos(clang
- https://forum.d2learn.org/topic/145 - https://github.com/llvm/llvm-project/blob/06fc87bcd3d61a08f8c035e60949631f61bccee7/libcxx/include/array#L61 Signed-off-by: sunrisepeak <speakshen@163.com>
1 parent 98d2ed2 commit d54dc1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dslings/cpp11/xmake.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ target("cpp11-07-constexpr-1")
9090
-- target: cpp11-08-literal-type
9191

9292
target("cpp11-08-literal-type-0")
93+
set_languages("c++17") -- TODO: optimize it
9394
add_files("08-literal-type-0.cpp")
9495

9596
target("cpp11-08-literal-type-1")

0 commit comments

Comments
 (0)