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

SourceForge.net noreply at sourceforge.net
Tue Mar 4 23:49:34 PST 2008


Bugs item #1907729, was opened at 2008-03-04 23:28
Message generated for change (Comment added) made by oneeyeman
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)

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

Comment By: ONEEYEMAN (oneeyeman)
Date: 2008-03-04 23:49

Message:
Logged In: YES 
user_id=1325635
Originator: NO

Please close the bug as "Incorrect Win't fix".

Thank you.

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

Comment By: ONEEYEMAN (oneeyeman)
Date: 2008-03-04 23:48

Message:
Logged In: YES 
user_id=1325635
Originator: NO

DO NOT FIX PARSING ERRORS!!!
Let your project build, it will build OK.
The parsing errors will be fixed in KDevelop 4.

In the meantime you can add the macro definition to KDevelop 3.x settings
and get rid of _parsing_ errors....

Thank you.

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

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