[ wxwindows-Bugs-1907729 ] kdevelop syntax and build errors

SourceForge.net noreply at sourceforge.net
Tue Mar 4 23:28:54 PST 2008


Bugs item #1907729, was opened at 2008-03-05 00:28
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=1907729&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
Private: No
Submitted By: Mike (preferredt)
Assigned to: Nobody/Anonymous (nobody)
Summary: kdevelop syntax and build errors

Initial Comment:
Using kdevelop ide (Linux RHEL 5.1 Gnome)I get several syntax errors in the code editor. In the wxapp (the .cpp and the .h files both) the macros to establish wxapp setup, each of these lines: IMPLEMENT_APP,IMPLEMENT_CLASS,BEGIN_EVENT_TABLE,END_EVENT_TABLE gives a syntax error.

None of the above macro lines have ";" at the end of the lines, so I get the syntax errors but it will build ok (success). 

To get rid of the syntax errors put the ";" to end each statement. The syntax errors go away but now I get a build error. I won't build...

It turns out that just 1 macro line does not like the ";". In the .cpp file - the BEGIN_EVENT_TABLE statement gags on the ";". Leave it off and the code builds OK but I now have 1 syntax error....


(Actually I'm running RHEL 5.1 in vmware on a MacBook Pro)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1907729&group_id=9863




More information about the wx-dev mailing list