delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/25/06:48:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=OB32XaexZgxlFOYN
K3KpEEbbBLPlDrQstfZyu59LyYXqqAvHOXH/kxDGhA2NZAaB2yw9/Gf89nFKHRhS
UqDUkbD5gPc55TTHTpLzgOdk/QXtKdtCaAzAkfowT4Qo3IRQRUCmVFH6VgpekfwP
3UccqVi22yOfZHDd92dM0As2iMc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=IP0Fc3VCFo6QK9EbAYN+eD
5eJx4=; b=wJ7gGtvxOKbHiq194/1mrZ8GpjtizVU/XXkjG6+aeoOwf5ivuXGqRZ
E2OnnUzjvKbOc9n5w6klu12xEICSA0zwboOC2uv8N6YcX3RAEF29d7IDG/3sYirv
Hpl7kUFCpsf05V5c2KNBcVh02L/cXdvxl/AUJNTNnaAdBWkOEWPT8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: web101120.mail.kks.yahoo.co.jp
Message-ID: <490222.35171.qm@web101120.mail.kks.yahoo.co.jp>
Date: Fri, 25 Apr 2014 19:47:50 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
Reply-To: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp
Subject: Re: ambiguous overload for operator [] on Cygwin_X86-64
To: cygwin AT cygwin DOT com,
"Yaakov \(Cygwin/X\)" <yselkowitz AT users DOT sourceforge DOT net>
In-Reply-To: <53596A72.8040704@users.sourceforge.net>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s3PAm8rc024874

--- On Fri, 2014/4/25, Yaakov (Cygwin/X) wrote:
> On 2014-04-23 22:15, Tatsuro MATSUOKA wrote:
> > I tried to build wxWidgets-3.0.0 on Cygwin.
> > For Cygwin x86, the build was successful.
> >
> > However, on Cygwin x86_64, the build failed at compling a cpp source file (src/common/appbase.cpp).
> >
> > ./include/wx/filename.h: In static member function 'static wxUniChar wxFileName::GetPathSeparator(wxPathFormat)':
> > ./include/wx/filename.h:473:43: error: ambiguous overload for 'operator[]' (operand types are 'wxString' and 'unsigned int')
> >           { return GetPathSeparators(format)[0u]; }
> >
> > The code "(format)[0u]" seemed to be accepted g++-4.8.2 on Cygwin x86_64.
> > What the difference of g++ between that of  Cygwin x86 and that of Cygwin x86_64?
> 
> wxWidgets requires several patches to build and/or run correctly on 
> Cygwin/X.  I haven't looked at 3.0 yet, but for 2.8 this issue is fixed 
> in my 2.8.12-cygwin64.patch:
> 
> http://sourceforge.net/p/cygwin-ports/wxWidgets2.8/
> 
> 
> Yaakov
> Cygwin/X

With your patch, I could build WxGTK-2.8.12.  I can build gnuplot with the wxt terminal.
That is really I want to execute. 

Thanks a lot!

Tatsuro

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019