[ wxwindows-Bugs-1539844 ] wxGTK-2.6.3 fails to compile with gcc 3.2.2
SourceForge.net
noreply at sourceforge.net
Mon Aug 14 00:38:36 PDT 2006
Bugs item #1539844, was opened at 2006-08-14 07:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1539844&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: pmisteli (pmisteli)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxGTK-2.6.3 fails to compile with gcc 3.2.2
Initial Comment:
wxGTK-2.6.3 fails to compile with gcc 3.2.2
Error message:
../src/gtk/clipbrd.cpp:501:1: directives may not be used inside a
macro argument
../src/gtk/clipbrd.cpp:501:41: unterminated argument list invoking
macro "GUINT_TO_POINTER"
../src/gtk/clipbrd.cpp: In member function `virtual bool wxClipboard::
addData(wxDataObject*)`
../src/gtk/clipbrd.cpp:504: parse error before `(` token
make: *** [corelib_clipbrd.o] Error 1
Workaround: change code at line 500 from:
GUINT_TO_POINTER(
#ifdef __WXGTK20__
gtk_get_current_event_time() );
#else
gtk_get_current_event_time(gtk_get_current_event())
#endif
) );
to:
#ifdef __WXGTK20__
GUINT_TO_POINTER(gtk_get_current_event_time() );
#else
GUINT_TO_POINTER(gtk_get_current_event_time(gtk_get_current_event(
))) );
#endif
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1539844&group_id=9863
More information about the wx-dev
mailing list