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 :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=qOjKJhPN2dgURCFwIRogkksOx6dudjdrnNO314J8jL7Lw+WuD/yEj 9VB6X7e7vEhFvGTSGEQSj6XFdZRBUsGCUxm+nIdmBF8+2CXJvg+ozTsYNpRhAXqO a09duJJA5kCtz42o6n3bKLTqfRcrMrVObkOp9PVIhfcwvnTREkNlFA= 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 :mime-version:content-type:content-transfer-encoding; s=default; bh=Jah/SerMzXK58babcTroua8Fvc4=; b=y2ZX7qHkWF7qNxFYJDDUJk9Uijcl 4LY8mnU5AgPb6gzu62ZdaQfZdU/xQG+UXpWamYSboxIQsf0PoEjrzI1k5quIPajK y0SoT3QbFe/QJUOHRdF8JAiH09GZWCgUW+Uqksfanb2H1hGFlDw7sJvb/aFC56+3 rmr10jGEQ1LfQjg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: web101119.mail.kks.yahoo.co.jp Message-ID: <510697.35308.qm@web101119.mail.kks.yahoo.co.jp> Date: Thu, 24 Apr 2014 12:15:30 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp Subject: ambiguous overload for operator [] on Cygwin_X86-64 To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s3O3FohS008031 Hello 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? Regards 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