Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2016 12:00:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207253] cad/openvsp: Fix in 11-CURRENT
Message-ID:  <bug-207253-13-8ZAd0NzxjY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207253-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207253-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=3D207253

Raphael Kubo da Costa <rakuco@FreeBSD.org> changed:

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

--- Comment #6 from Raphael Kubo da Costa <rakuco@FreeBSD.org> ---
Looking at the build failure, it seems to be caused by src/util_code/array.h
declaring a class called array:
https://github.com/OpenVSP/OpenVSP/blob/v2_master/src/util_code/array.h, wh=
ich
clashes with std::array when libc++ is used because a lot of files do 'using
namespace std'.

It's possible to work around the issue by changing the name of the class or
wrapping it around another namespace

However, I don't think this clash should happen, as -std=3Dc++11 (or 0x etc=
) is
not being passed to the compiler. The __tuple header seems to be
unconditionally declaring a 'struct array' here:
https://github.com/freebsd/freebsd/blob/ea5248c/contrib/libc%2B%2B/include/=
__tuple#L116

Dimitry, is this working as expected from libc++'s perspective?

--=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-207253-13-8ZAd0NzxjY>