[PATCH] D142279: [cmake] Use LLVM_ENABLE_ASSERTIONS to enable assertions in libstdc++
Steven Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 10 09:02:35 PST 2023
srj added a comment.
In D142279#4117691 <https://reviews.llvm.org/D142279#4117691>, @foad wrote:
> The warning is reported here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105545
>
> I'm not sure what's best to do. The status quo is that you get lots of compile time warnings. We could add a check for that in the cmake scripts, and disable _GLIBCXX_ASSERTIONS, but then you would silently lose the assertions.
At this point, we're just gonna work around it by explicitly removing -D_GLIBCXX_ASSERTIONS from the set of cxxflags that LLVM specifies.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142279/new/
https://reviews.llvm.org/D142279
More information about the llvm-commits
mailing list