CodeLite on Mac

General questions regarding the usage of CodeLite
marksibly
CodeLite Enthusiast
Posts: 23
Joined: Thu Oct 30, 2008 1:40 am
Contact:

CodeLite on Mac

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite on Mac

Post 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
Make sure you have read the HOW TO POST thread
marksibly
CodeLite Enthusiast
Posts: 23
Joined: Thu Oct 30, 2008 1:40 am
Contact:

Re: CodeLite on Mac

Post 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]
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite on Mac

Post 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
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: CodeLite on Mac

Post 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
Post Reply