[X2Go-Dev] Bug#337: nxcomp doesn't compile against libc++ STL

Clemens Lang cal at macports.org
Tue Nov 5 02:05:15 CET 2013


Package: nx-libs
Version: 3.5.0.21

The nx-libs-lite package does not compile on OS X Mavericks because
Apple's clang compilers now default to compiling against the libc++ STL
rather than (their outdated copy of) libstdc++.

While the compiler still allows changing that, we should not rely on
this being possible forever.

The compiler chokes in Types.h, specifically the clear() methods in
subclasses of vectors that use implementation details of the GNU STL.
The attached patch fixes these compilation issues by not overriding the
clear() method when compiling against libc++, since the libc++ headers
seem to do essentially the same as the overriden method.

HTH,
-- 
Clemens Lang
MacPorts Developer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-nxcomp__Types.h-dont-use-STL-internals-on-libc++.diff
Type: text/x-diff
Size: 1141 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20131105/6dc42c2f/attachment.diff>


More information about the x2go-dev mailing list