This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
no matching function
- To: cygwin at sourceware dot cygnus dot com
- Subject: no matching function
- From: Cameron Edwards <cameron at student dot unsw dot edu dot au>
- Date: Sun, 05 Nov 2000 17:52:32 +1100
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@sourceware.cygnus.com