[Bug 216054] graphics/openshadinglanguage: fails to build with libc++ 4.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 18 17:00:27 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216054
Jan Beich (mail not working) <jbeich at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eric at efcs.ca
--- Comment #1 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
libc++ 4.0 is just broken with old compilers. One workaround would be to build
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list