delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/06/11:59:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20001106115030.00b7bd90@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 06 Nov 2000 11:56:20 -0500
To: Cameron Edwards <cameron AT student DOT unsw DOT edu DOT au>,
cygwin AT sourceware DOT cygnus DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: no matching function
In-Reply-To: <3A0503B0.8410EEE1@student.unsw.edu.au>
Mime-Version: 1.0

At 01:52 AM 11/5/2000, Cameron Edwards wrote:
>Hi,
>
>I have Cygwin 1.1.2 and im trying to compile a C++ wxWindows progrma i
>wrote (it currently compiles fine in Linux).
>
>I'm calling a function MainState::GetTimeFormat() but the compiler
>complains that it can't find MainState::GetTimeFormatA() (yes there is
>an extra 'A' character appended on the end). It also  happens for the
>wxPaintDC::DrawText() function.
>
>See output at bottom of this email.
>
>
>Why is it putting that A character there????? Why wont it compile (it
>compiles fine in Linux)??
>
>Any help or suggestions would be greatly appreciated.
>
>Thanks,
>
>Cameron



I'm going to assume that MainState comes from wxWindows.  The issue is that
wxWindows on Windows, apparently, addresses UNICODE/MBCS the same way as
Windows.  There appear to be two versions of each of these functions, one
to deal with ASCII/MBCS and one to deal with UNICODE.  A=ASCII/MBCS while
U=UNICODE.  Grep through the header files that wxWindows provides and you'll
probably find defines that map these functions from the function name to the
function name with an "A" or "U" appended depending on whether MBCS or 
UNICODE is defined.  Then you'll need to figure out why that function is 
not defined in the header files you're using...

Note, I have no experience with wxWindows, if that's not obvious!;-)



Larry


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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