From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6154 invoked by alias); 25 Apr 2014 10:47:57 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6142 invoked by uid 89); 25 Apr 2014 10:47:56 -0000 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 Received: from web101120.mail.kks.yahoo.co.jp (HELO web101120.mail.kks.yahoo.co.jp) (183.79.100.204) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Fri, 25 Apr 2014 10:47:54 +0000 Received: (qmail 40057 invoked by uid 60001); 25 Apr 2014 10:47:51 -0000 Message-ID: <490222.35171.qm@web101120.mail.kks.yahoo.co.jp> Received: from [133.6.57.2] by web101120.mail.kks.yahoo.co.jp via HTTP; Fri, 25 Apr 2014 19:47:50 JST Date: Fri, 25 Apr 2014 10:47:00 -0000 From: Tatsuro MATSUOKA Reply-To: matsuoka@nuce.nagoya-u.ac.jp Subject: Re: ambiguous overload for operator [] on Cygwin_X86-64 To: cygwin@cygwin.com, "Yaakov \(Cygwin/X\)" In-Reply-To: <53596A72.8040704@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00563.txt.bz2 --- 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 fi= le (src/common/appbase.cpp). > > > > ./include/wx/filename.h: In static member function 'static wxUniChar wx= FileName::GetPathSeparator(wxPathFormat)': > > ./include/wx/filename.h:473:43: error: ambiguous overload for 'operator= []' (operand types are 'wxString' and 'unsigned int') > >=A0 =A0 =A0 =A0 =A0=A0=A0{ return GetPathSeparators(format)[0u]; } > > > > The code "(format)[0u]" seemed to be accepted g++-4.8.2 on Cygwin x86_6= 4. > > What the difference of g++ between that of=A0 Cygwin x86 and that of Cy= gwin x86_64? >=20 > wxWidgets requires several patches to build and/or run correctly on=20 > Cygwin/X.=A0 I haven't looked at 3.0 yet, but for 2.8 this issue is fixed= =20 > in my 2.8.12-cygwin64.patch: >=20 > http://sourceforge.net/p/cygwin-ports/wxWidgets2.8/ >=20 >=20 > 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.=20 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