Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 17:00:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216054] graphics/openshadinglanguage: fails to build with libc++ 4.0
Message-ID:  <bug-216054-13-z4KEtYxiTA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216054-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216054-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=3D216054

Jan Beich (mail not working) <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric@efcs.ca

--- Comment #1 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
libc++ 4.0 is just broken with old compilers. One workaround would be to bu=
ild
against devel/libc++ which tracks old version.

$ cat a.cc
#include <string>

int main() { return 0; }

$ clang++34 a.cc
In file included from a.cc:1:
In file included from /usr/include/c++/v1/string:470:
In file included from /usr/include/c++/v1/string_view:171:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:637:
/usr/include/c++/v1/type_traits:2075:14: error: expected class name
    : public decltype((_VSTD::__is_assignable_test<_Tp, _Arg>(0))) {};
             ^
/usr/include/c++/v1/__config:747:25: note: expanded from macro 'decltype'
#  define decltype(__x) __typeof__(__x)
                        ^
1 error generated.

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



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