This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]