[libcxx-commits] [PATCH] D76311: [libc++] Do not force the use of -Werror in verify tests
Eric Fiselier via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 26 18:30:24 PDT 2020
EricWF added inline comments.
Comment at: libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/reset.runtime.fail.cpp:10
+// UNSUPPORTED: c++98, c++03
> EricWF wrote:
> > Why does this no longer pass?
> When adding `-Werror`, we were also adding some specially tailored `-Wno-c++11-extensions` warning suppressor. The problem is that we use `min_allocator.h`, which uses the C++11 extension `= default` even in C++03 mode.
> My original workaround was to backport `min_allocator.h` to C++03, but I thought you would prefer just disabling that specific test (`unique_ptr` is supposed to be C++11 anyway).
FYI we do use unique_ptr throughout our implementation of the C++03 library.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits