Page 1 of 1

CodeLite on Mac

Posted: Mon Apr 27, 2009 8:37 am
by marksibly
Hi,

I am using CodeLite on Mac, and experiencing 5-ish second pauses while 're-tagging' occurs when I build.

In addition, stdout is swamped with a bunch of messages like:

27/04/09 4:31:17 PM [0x0-0x38038].CodeLite[540] CodeLite: syntax error, unexpected token '8' found at line 114

Apart from this, the build works and the app runs fine.

Any ideas? Can I turn off tagging?

Re: CodeLite on Mac

Posted: Mon Apr 27, 2009 9:51 am
by eranif
marksibly wrote:27/04/09 4:31:17 PM [0x0-0x38038].CodeLite[540] CodeLite: syntax error, unexpected token '8' found at line 114
this can be ignored. I simply forgot to turn off the logging of the yacc parser when I released this version.
marksibly wrote:I am using CodeLite on Mac, and experiencing 5-ish second pauses while 're-tagging' occurs when I build.
can u explain it in more details?

Eran

Re: CodeLite on Mac

Posted: Tue Apr 28, 2009 3:17 am
by marksibly
Hi,

> can u explain it in more details?

Well, if I modify a file then hit F7, "re-tagging file main.cpp" (or whatever file I modified) appears in the status bar, then there's a 5 second pause/busy-pointer, then the project builds.

Actually, occasionally (not too often) it just crashes after the re-tagging pause.

[edit]
Just tried deleting .codelite from ~/ and recreating tags - no joy.

Also, the syntax errors being dumped by CodeLite to stdout don't look at all right, pretty much everything is causing a syntax error (and always unexpected token), even though it compiles fine. Some examples:

28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '"Editor 3!"' found at line 74
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '->' found at line 75
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '(' found at line 75
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '"Editor 3 - hello!"' found at line 75
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token ')' found at line 75
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '->' found at line 77
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '(' found at line 77
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token ')' found at line 77
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '=' found at line 79
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token 'new' found at line 79
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '(' found at line 79
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '"Divider"' found at line 79
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '->' found at line 80
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '(' found at line 80
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '(' found at line 80
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '0.75f' found at line 80
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '0.75f' found at line 80
28/04/09 12:15:58 PM [0x0-0x34034].CodeLite[802] CodeLite: syntax error, unexpected token '0.75f' found at line 80

Lines numbers above are 'roughly' right, eg: .75f appears 3 times on line 77.
[/edit]

Re: CodeLite on Mac

Posted: Tue Apr 28, 2009 10:09 am
by eranif
marksibly wrote:Also, the syntax errors being dumped by CodeLite to stdout don't look at all right, pretty much everything is causing a syntax error (and always unexpected token), even though it compiles fine. Some examples:
It is OK trust me on this one :D
marksibly wrote:Well, if I modify a file then hit F7, "re-tagging file main.cpp" (or whatever file I modified) appears in the status bar, then there's a 5 second pause/busy-pointer, then the project builds.
Thanks for the explanation, however I never encountered this before (not even on Mac)

What happen if you save the file *before* hitting F7? still the same delay pause?

Eran

Re: CodeLite on Mac

Posted: Tue Apr 28, 2009 1:02 pm
by frank_frl
Hi,

I just compiled CodeLite 2823 yesterday on MAC OS X 10.5.6 and it compiles and works without any problems. No crash and no delay when building a project.

Frank