X2Go Bug report logs - #337
nxcomp doesn't compile against libc++ STL

version graph

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Clemens Lang <cal@macports.org>

Date: Tue, 5 Nov 2013 01:18:02 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version 2:

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#337: nxcomp doesn't compile against libc++ STL
Reply-To: Clemens Lang <cal@macports.org>, 337@bugs.x2go.org
Resent-From: Clemens Lang <cal@macports.org>
Original-Sender: Clemens Lang <neverpanic@gmail.com>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 05 Nov 2013 01:18:02 +0000
Resent-Message-ID: <handler.337.B.13836135196151@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 337
X-X2Go-PR-Package: nx-libs
Received: via spool by submit@bugs.x2go.org id=B.13836135196151
          (code B); Tue, 05 Nov 2013 01:18:02 +0000
Received: (at submit) by bugs.x2go.org; 5 Nov 2013 01:05:19 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-ea0-f181.google.com (mail-ea0-f181.google.com [])
	by ymir (Postfix) with ESMTPS id 1A21E3BC43
	for <submit@bugs.x2go.org>; Tue,  5 Nov 2013 02:05:18 +0100 (CET)
Received: by mail-ea0-f181.google.com with SMTP id d10so3773839eaj.26
        for <submit@bugs.x2go.org>; Mon, 04 Nov 2013 17:05:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
X-Received: by with SMTP id o46mr21270617eeb.19.1383613518671;
        Mon, 04 Nov 2013 17:05:18 -0800 (PST)
Received: from towel.neverpanic.de ([2001:4d88:1017:67a6:4944:27cc:d30d:967c])
        by mx.google.com with ESMTPSA id s3sm53352013eeo.3.2013.
        for <submit@bugs.x2go.org>
        (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
        Mon, 04 Nov 2013 17:05:17 -0800 (PST)
Sender: Clemens Lang <neverpanic@gmail.com>
Date: Tue, 5 Nov 2013 02:05:15 +0100
From: Clemens Lang <cal@macports.org>
To: submit@bugs.x2go.org
Message-ID: <20131105010515.GA1695@towel.neverpanic.de>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga"
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
[Message part 1 (text/plain, inline)]
Package: nx-libs

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.

Clemens Lang
MacPorts Developer

[patch-nxcomp__Types.h-dont-use-STL-internals-on-libc++.diff (text/x-diff, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Aug 4 08:53:27 2020; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.