Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2017 20:52:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218273] [exp-run] Use llvm 4.0 for c++14-lang
Message-ID:  <bug-218273-13-iPwQ9xFRsZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218273-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218273-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218273

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
This looks like a conflict between the definition of __cxa_get_globals() in
libcxxrt and zen/scope_guard.h, whatever that is.

Both libcxxrt and libc++abi define this as just:

__cxa_eh_globals *__cxa_get_globals(void);

and don't specify any exception clause, while libstdc++ suffixes it with=20
_GLIBCXX_NOTHROW, which is defined differently depending on whether it is
compiling for C, C++ < 11, or C++ >=3D 11.

In any case, user headers should not attempt to declare functions from cxxa=
bi.h
or other system headers themselves, so I consider this a bug in
zen/scope_guard.h.  The conflicting declarations should be removed or comme=
nted
out.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218273-13-iPwQ9xFRsZ>