diff options
| author | Arthur LAURENT <[email protected]> | 2025-05-11 18:14:15 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-05-11 18:58:21 +0200 |
| commit | e7ca027a1ebc0ad0e02160cd0c6b3cd502efadc8 (patch) | |
| tree | 9d1048e102be9f29f64d0f2571204037da9ac73e /xmake/rules/c++/modules/gcc/support.lua | |
| parent | 7be20413ac8cdd099055ae4eef80647ead092838 (diff) | |
(C++ modules support) fix warnings for std module
Diffstat (limited to 'xmake/rules/c++/modules/gcc/support.lua')
| -rw-r--r-- | xmake/rules/c++/modules/gcc/support.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmake/rules/c++/modules/gcc/support.lua b/xmake/rules/c++/modules/gcc/support.lua index e28ff2046..d8ab791eb 100644 --- a/xmake/rules/c++/modules/gcc/support.lua +++ b/xmake/rules/c++/modules/gcc/support.lua @@ -166,8 +166,7 @@ function _get_std_module_manifest_path(target) end end -function get_stdmodules(target, opt) - opt = opt or {} +function get_stdmodules(target) if not target:policy("build.c++.modules.std") then return end @@ -187,9 +186,7 @@ function get_stdmodules(target, opt) return std_module_files end end - if not opt.dont_warn then - 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() |
