https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280382

Dimitry Andric <d...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d...@freebsd.org
         Resolution|---                         |DUPLICATE
             Status|New                         |Closed

--- Comment #2 from Dimitry Andric <d...@freebsd.org> ---
This is another instance of our static_assert implementation in cdefs.h going
haywire in C++98 mode, as already reported in bug 276738. The problem is that
you would have to rewrite all static_assert invocations in libc++'s headers
with extra parentheses, which is not going to happen. (In fact, upstream has
been removing these old compat crutches actively.)

The fix here is simply to remove -pedantic-errors, as this option serves no
useful purpose, except being overly pedantic. :)

*** This bug has been marked as a duplicate of bug 276738 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to