Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
sdk/editorcolour.cpp patch (rev.4632). Crash on startup.
(1/1)
kisoft:
I submit patch to BerliOS. SVN rev.4032 crash on startup without this patch.
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2243&group_id=5358
Piece of code from this patch for explains:
--- Code: ---- Manager::Get()->GetLogManager()->Log(_("Found %d lexers"), count);
+ Manager::Get()->GetLogManager()->Log(F(_("Found %d lexers"), count));
--- End code ---
MinGW 3.4.5
wxWidgets 2.8.6
Now C::B worked succesfully.
Jenna:
svn4632 works fine for me on Linux and W2k in kvm virtual-machine.
The only difference on W2k) is that I compiled codeblocks (and wxWidgets) with MingW gcc4.2.
kisoft:
svn 4632. I does edit topic subject.
Last revision when I used before 4632 - 4603. All versions after 4603 have crash on startup.
--- Code: ---OS : Microsoft Windows XP Professional
Version: 5.1.2600 Service Pack 2 Build 2600
--- End code ---
MinGW 3.4.5, wxWindows 2.8.6
Original line when I patched is:
--- Code: --- Manager::Get()->GetLogManager()->Log(_("Found %d lexers"), count);
--- End code ---
My new line is:
--- Code: --- Manager::Get()->GetLogManager()->Log(F(_("Found %d lexers"), count));
--- End code ---
Anybody can see method
--- Code: ---void EditorColourSet::LoadAvailableSets()
--- End code ---
in sdk/editorcolourset.cpp
and will found then line 131 has difference with line 147. I have no comments more.
Jenna:
I think it did not crash for me, because it happens when scanning for user-specific lexers, but I don't have any.
kisoft:
--- Quote from: jens on November 15, 2007, 03:17:37 pm ---I think it did not crash for me, because it happens when scanning for user-specific lexers, but I don't have any.
--- End quote ---
My default.conf resides in same directory with codeblocks.exe. I move configs to this path not long ago. Your assumption is cogent argument.
Navigation
[0] Message Index
Go to full version