Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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