X2Go Bug report logs - #642
Changes in X2GoClient for Windows to enable it conform to Visual Studio's stricter type checking

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: "George Trakatelis" <trakatelis@uom.edu.gr>

Date: Wed, 15 Oct 2014 14:50:01 UTC

Severity: wishlist

Tags: pending

Found in version 4.0.2.1

Fixed in version 4.0.3.2

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


Message #45 received at 642@bugs.x2go.org (full text, mbox, reply):

Received: (at 642) by bugs.x2go.org; 28 Oct 2014 16:55:58 +0000
From trakatelis@uom.edu.gr  Tue Oct 28 17:55:57 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 19C905DB41
	for <642@bugs.x2go.org>; Tue, 28 Oct 2014 17:55:56 +0100 (CET)
Received: by mail-wg0-f49.google.com with SMTP id x13so1384386wgg.32
        for <642@bugs.x2go.org>; Tue, 28 Oct 2014 09:55:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=uom.edu.gr; s=google;
        h=from:to:cc:references:in-reply-to:subject:date:message-id
         :mime-version:content-type:thread-index:content-language;
        bh=IUPO+ib6Av5OVb5rGoK+x/xPH6xQhHmBzLhejAgAIjg=;
        b=TVvLq4xpYqPo9Lu0qQzhArNhNl02f6wCcSLB+KKvlL1RLvdLyPvnSKeyb03XRE/hlP
         rWV0ZHcoS0IuCJthBXFqvY9MBp7+Hvas2wnZ5QXtx3ma2HM+yyBRnTj5uZCEm/aIOMpj
         tx8stkofPWCrwqhwvilLvpBpeghl9xggbKyyE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
         :message-id:mime-version:content-type:thread-index:content-language;
        bh=IUPO+ib6Av5OVb5rGoK+x/xPH6xQhHmBzLhejAgAIjg=;
        b=B165H//99ySNVFqi3qEr/4W50mv23p+ORsjN4oYatYfhpAtccBt4n2zCeclxA3DRD9
         ZNjx5ERgSra2GwzEiucNckM7es7hX7y7XBZ5UphGfoXzU5nW/ICiPL0L2fp9gdIDd9P4
         bLgS2meyvcXIR3/24HopIu+sQ3fpux4lCB6zwp1mOU3n3I/uVS4L1B5Swclv9sw42Sxh
         tGclagnOa4vVezkS5QqxiNc/iF4bam+0EE0dLdyOq2lHHqzMovtWIx+nQ29CwtV2r9+/
         3Od9pERvsKA7PoTvzEyoIGlx85hprGeQLx+GfyCQeooWoOqwSbkOuWyJawqfKx3/5aT+
         sgBg==
X-Gm-Message-State: ALoCoQnvbxdHHdJBYCdTwUSGbbvYMqkB75vsA3YRWvChQ15/40E3/H3HHB59Lmr2E+/LknAGvxcV
X-Received: by 10.194.223.67 with SMTP id qs3mr4718911wjc.127.1414515356609;
        Tue, 28 Oct 2014 09:55:56 -0700 (PDT)
Received: from HomePC ([176.92.52.205])
        by mx.google.com with ESMTPSA id f7sm2811360wiz.13.2014.10.28.09.55.55
        for <multiple recipients>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Tue, 28 Oct 2014 09:55:55 -0700 (PDT)
From: "George Trakatelis" <trakatelis@uom.edu.gr>
To: <642@bugs.x2go.org>
Cc: "'Mike Gabriel'" <mike.gabriel@das-netzwerkteam.de>,
	"'Mike DePaulo'" <mikedep333@gmail.com>
References: <20141015203358.Horde.KocdhaNWJNwyU7IDPf0Pug5@mail.das-netzwerkteam.de> <543F84ED.6030207@phoca-gmbh.de> <CAMKht8ggkVX2zF8wf5AFrNqGODAB+10EcX9VW0SN4K_XCaaSpg@mail.gmail.com> <20141016143029.Horde.DtEVLqASiFwRgVFw5c35nw1@mail.das-netzwerkteam.de> <000301cff26e$40b79090$c226b1b0$@edu.gr> <20141028075509.Horde.alDesymTpPfVMqGsvA6MeQ1@mail.das-netzwerkteam.de>
In-Reply-To: <20141028075509.Horde.alDesymTpPfVMqGsvA6MeQ1@mail.das-netzwerkteam.de>
Subject: RE: [X2Go-Dev] Bug#642: Bug#642: Changes in X2GoClient for Windows to enable it conform to Visual Studio's stricter type checking
Date: Tue, 28 Oct 2014 18:55:52 +0200
Message-ID: <000301cff2d0$09ec8a90$1dc59fb0$@edu.gr>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0004_01CFF2E0.CD755A90"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac/yhH/BLG6aYhAPS0W2qLFumiw3UwAR+tBA
Content-Language: el
[Message part 1 (text/plain, inline)]
Hi Mike,

My initial intention was to build X2GoClient for Windows using the VS2010 IDE, 
but that seems to be impossible for the time being due to a Qt4 Visual Studio Add-in limitation. 
The provided patches:

1. 'conform-to-stricter-type-checking-mingw482.patch', 
2. 'conform-to-stricter-type-checking-VS2010.patch', and 
3. the now attached 'add-libraries-to-build-with-VS2010-command-line.patch' 
   (which supersedes previously attached 'add-libraries-to-build-with-VS2010.patch') 

make it possible to build X2GoClient for Windows 4.0.3.0 from the command line 
using Visual Studio's nmake (one has to install VS2010 and Qt 4.8.6 for VS2010). 
As this wishlist bug is actually resolved by applying the 3 patches, my answer is 
'Yes, you can close it, provided that at least one volunteer confirms its validity'.

George

> -----Original Message-----
> From: Mike Gabriel [mailto:mike.gabriel@das-netzwerkteam.de]
> Sent: Tuesday, October 28, 2014 9:55 AM
> To: George Trakatelis; 642@bugs.x2go.org
> Subject: Re: [X2Go-Dev] Bug#642: Bug#642: Changes in X2GoClient for
> Windows to enable it conform to Visual Studio's stricter type checking
> 
> Hi George,
> 
> On  Di 28 Okt 2014 06:15:54 CET, George Trakatelis wrote:
> 
> > Hi Michael,
> >
> > Now that release 4.0.3.0 of x2goclient is out, I attach my proposed
> > changes and comment on each one:
> >
> > 1. conform-to-stricter-type-checking-mingw482.patch
> >
> > Even mingw's debug build complains about this char * not having been
> > declared as ought to be (const char *) and suggests using -
> fpermissive
> > (not recommended).
> >
> > 2. conform-to-stricter-type-checking-VS2010.patch
> >
> > a. A type-cast to match one of pow's declarations {float pow(float x,
> > int y);} b. In pure Windows there's no close() function to close a
> > socket.
> >    So you have to use closesocket() instead.
> > c. Include winsock2.h just before windows.h (also recommended by
> mingw).
> >
> > 3. add-libraries-to-build-with-VS2010.patch
> >
> > a. A new batch file to configure x2goclient for VS2010 build
> > (config_win_vs.bat).
> > I have just substituted nmake for mingw32-make.
> > Please remember to also use 'nmake' or 'nmake debug' when building.
> > b. Added necessary win32 libraries.
> >
> > George
> 
> Thanks a lot for providing those patches.
> 
> Will applying all those patches provide enough reason/solution to close
> this bug (#642)?
> 
> Mike
> 
> 
> --
> 
> DAS-NETZWERKTEAM
> mike gabriel, herweg 7, 24357 fleckeby
> fon: +49 (1520) 1976 148
> 
> GnuPG Key ID 0x25771B31
> mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
> 
> freeBusy:
> https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-
> netzwerkteam.de.xfb
[add-libraries-to-build-with-VS2010-command-line.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 20:58:00 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.