[libcxx-commits] [libcxx] [libc++] Disables -Wweak-vtables diagnostics. (PR #85577)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 30 11:20:23 PDT 2024
================
@@ -27,6 +27,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD
template <class _Err>
class bad_expected_access;
+_LIBCPP_DIAGNOSTIC_PUSH
+_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wweak-vtables")
----------------
mordante wrote:
I checked and only disabling it for the `void` specialization works. However I tried to use `_LIBCPP_WEAK` with that specialization and that resulted in compilation errors. If you or @philnik777 know directly how to solve this feel free to commit patches to this review to solve it.
https://github.com/llvm/llvm-project/pull/85577
More information about the libcxx-commits
mailing list