X2Go Bug report logs - #866
Fix compilation errors in nxcomp (nx-libs) when macros TEST/DEBUG/... are defined (developer support)

version graph

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

Reported by: Nito Martinez <Nito@Qindel.ES>

Date: Thu, 7 May 2015 22:45:03 UTC

Severity: normal

Tags: fixed-upstream, patch

Found in version 3.5.0.28

Fixed in version 3.5.99.0

Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/ArcticaProject/nx-libs/pull/26

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#866: Fix compilation errors in nxcomp (nx-libs) when macros TEST/DEBUG/... are defined (developer support)
Reply-To: Nito Martinez <Nito@Qindel.ES>, 866@bugs.x2go.org
Resent-From: Nito Martinez <Nito@Qindel.ES>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 07 May 2015 22:45:03 +0000
Resent-Message-ID: <handler.866.B.143103860127177@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 866
X-X2Go-PR-Package: nx-libs
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.143103860127177
          (code B); Thu, 07 May 2015 22:45:03 +0000
Received: (at submit) by bugs.x2go.org; 7 May 2015 22:43:21 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,HTML_MESSAGE
	autolearn=ham version=3.3.2
Received: from thor.qindel.com (smtp.qindel.com [89.140.90.34])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 3DCBC5DA80
	for <submit@bugs.x2go.org>; Fri,  8 May 2015 00:43:18 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by thor.qindel.com (Postfix) with ESMTP id 9AF6F6020B
	for <submit@bugs.x2go.org>; Fri,  8 May 2015 00:35:10 +0200 (CEST)
Received: from thor.qindel.com ([127.0.0.1])
	by localhost (thor.qindel.com [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id hco9KOVYgj1I for <submit@bugs.x2go.org>;
	Fri,  8 May 2015 00:35:10 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by thor.qindel.com (Postfix) with ESMTP id 24A8D6020D
	for <submit@bugs.x2go.org>; Fri,  8 May 2015 00:35:10 +0200 (CEST)
X-Virus-Scanned: amavisd-new at thor.qindel.com
Received: from thor.qindel.com ([127.0.0.1])
	by localhost (thor.qindel.com [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id 3QukMzDm-Hvr for <submit@bugs.x2go.org>;
	Fri,  8 May 2015 00:35:09 +0200 (CEST)
Received: from [10.1.0.254] (qvd-254.int.qindel.com [172.26.11.254])
	by thor.qindel.com (Postfix) with ESMTPSA id E99E06020B
	for <submit@bugs.x2go.org>; Fri,  8 May 2015 00:35:09 +0200 (CEST)
Message-ID: <554BE89D.2030304@Qindel.ES>
Date: Fri, 08 May 2015 00:35:09 +0200
From: Nito Martinez <Nito@Qindel.ES>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: submit@bugs.x2go.org
Content-Type: multipart/mixed;
 boundary="------------080608060800020002070205"
[Message part 1 (text/plain, inline)]
Package: nx-libs
Version: 3.5.0.28

Description:

The attached patch fixes some compilation errors when the following 
macros are enabled: (TEST/DEBUG/DUMP). See the lines:

#undef TEST
#undef DEBUG
...

and the conditinal ifdefs

#ifdef TEST
#ifdef DEBUG
...

which are normally not compiled.

During debugging and testing when these macros gets activated, there are 
some compilation errors, which need to be manually fixed each time the 
Macros are enabled. This patch tries to leverage that error.

The patch does not affect code outside of those ifdef, and only provides 
developer support.

Regards,

Nito

[Message part 2 (text/html, inline)]
[macro_debugging.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:33:32 2024; 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.