diff options
| author | 24bit-xjkp <[email protected]> | 2025-01-03 20:42:50 +0800 |
|---|---|---|
| committer | 24bit-xjkp <[email protected]> | 2025-01-03 20:42:50 +0800 |
| commit | 09300b95ea379fd4b93ecf4806d471157bfae3a5 (patch) | |
| tree | bab992b02c18ad7843ddbf8e827d2764808d5d71 /xmake/rules/c++/modules/modules_support | |
| parent | b16a5777a69bf2cd7899670fbc10d71fb2353ff3 (diff) | |
fix(modules): Remove inappropriate warnings
1. The warnings shouldn't be generated when the policy build.c++.modules.std is not enabled.
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang/compiler_support.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua index f86a0bd8f..56bfb5f25 100644 --- a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua +++ b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua @@ -299,8 +299,8 @@ function get_stdmodules(target) -- end end end + wprint("std and std.compat modules not found! maybe try to add --sdk=<PATH/TO/LLVM> or install libc++") end - wprint("std and std.compat modules not found! maybe try to add --sdk=<PATH/TO/LLVM> or install libc++") end function get_bmi_extension() @@ -488,4 +488,3 @@ function get_print_library_module_manifest_path_flag(target) end return print_library_module_manifest_path_flag or nil end - |
