[libcxx-commits] [libcxx] [libc++] Suppress reserved module name warning for `module std` (PR #228632)

Chuanqi Xu via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 18 22:36:24 PDT 2026


ChuanqiXu9 wrote:

The intention of the warning is, the spec said the module started with `std` is preserved by the language. So if the user define some module starts with `std`, we want to tell the user that the name is preserved and (maybe) it might get broken some day in the future.

So it has nothing to do with the system library libc++ and libstdc++. Previously, build system will try to suppress the warning by passing `-Wno-`.

https://github.com/llvm/llvm-project/pull/228632


More information about the libcxx-commits mailing list