delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/05/01:54:25

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: <3A0503B0.8410EEE1@student.unsw.edu.au>
Date: Sun, 05 Nov 2000 17:52:32 +1100
From: Cameron Edwards <cameron AT student DOT unsw DOT edu DOT au>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: no matching function

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


############
PositionBar.C: In method `void PositionBar::SetCursorAndValue(long
unsigned int, char *)':
PositionBar.C:88: no matching function for call to
`MainState::GetTimeFormatA ()'
PositionBar.C:92: no matching function for call to
`MainState::GetTimeFormatA ()'
PositionBar.C: In method `void PositionBar::UpdateRegion()':
PositionBar.C:136: no matching function for call to
`MainState::GetTimeFormatA ()'
PositionBar.C:141: no matching function for call to
`MainState::GetTimeFormatA ()'
PositionBar.C: In method `void PositionBar::onPaint(wxPaintEvent &)':
PositionBar.C:191: no matching function for call to
`wxPaintDC::DrawTextA (const char[7], int &, int)'
PositionBar.C:192: no matching function for call to
`wxPaintDC::DrawTextA (const char[6], int &, int)'
PositionBar.C:193: no matching function for call to
`wxPaintDC::DrawTextA (const char[13], int &, int)'
PositionBar.C:194: no matching function for call to
`wxPaintDC::DrawTextA (const char[11], int &, int)'
make: *** [PositionBar.o] Error 1

--
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