lieven@pcldcp:~> codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
OpenFilesList: loaded
ScriptedWizard: loaded
Profiler: loaded
Valgrind: loaded
AutoVersioning: loaded
HelpPlugin: loaded
Exporter: loaded
wxSmithContribItems: loaded
HexEditor: loaded
cbKeyBinder: loaded
ClassWizard: loaded
HeaderFixup: loaded
lib_finder: loaded
cbDragScroll: loaded
SymTab: loaded
CodeSnippets: loaded
EnvVars: loaded
ToDoList: loaded
BrowseTracker: loaded
CB_Koders: loaded
ProjectsImporter: loaded
FilesExtensionHandler: loaded
RegExTestbed: loaded
BYOGames: loaded
Debugger: loaded
IncrementalSearch: loaded
CodeStat: loaded
AStylePlugin: loaded
Compiler: loaded
Autosave: loaded
CodeCompletion: loaded
ThreadSearch: loaded
wxSmith: loaded
wxSmithMime: loaded
Open files list plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
Code profiler plugin activated
Valgrind plugin activated
AutoVersioning plugin activated
Help plugin plugin activated
Source Exporter plugin activated
wxSmith - Contrib Items plugin activated
HexEditor plugin activated
Keyboard shortcuts plugin activated
Class wizard plugin activated
Header Fixup plugin activated
Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).
Library finder plugin activated
DragScroll plugin activated
Symbol Table Plugin plugin activated
Code snippets plugin activated
Environment variables plugin activated
To-Do List plugin activated
BrowseTracker plugin activated
Koders query plugin activated
Foreign projects importer plugin activated
Files extension handler plugin activated
Regular expressions testbed plugin activated
BYO Games plugin activated
Debugger plugin activated
IncrementalSearch plugin activated
Code statistics plugin activated
Source code formatter (AStyle) plugin activated
Added compiler "GNU GCC Compiler"
Segmentation fault
at the guy who committed today : linux version is broken :Quotelieven@pcldcp:~> codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
OpenFilesList: loaded
ScriptedWizard: loaded
Profiler: loaded
Valgrind: loaded
AutoVersioning: loaded
HelpPlugin: loaded
Exporter: loaded
wxSmithContribItems: loaded
HexEditor: loaded
cbKeyBinder: loaded
ClassWizard: loaded
HeaderFixup: loaded
lib_finder: loaded
cbDragScroll: loaded
SymTab: loaded
CodeSnippets: loaded
EnvVars: loaded
ToDoList: loaded
BrowseTracker: loaded
CB_Koders: loaded
ProjectsImporter: loaded
FilesExtensionHandler: loaded
RegExTestbed: loaded
BYOGames: loaded
Debugger: loaded
IncrementalSearch: loaded
CodeStat: loaded
AStylePlugin: loaded
Compiler: loaded
Autosave: loaded
CodeCompletion: loaded
ThreadSearch: loaded
wxSmith: loaded
wxSmithMime: loaded
Open files list plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
Code profiler plugin activated
Valgrind plugin activated
AutoVersioning plugin activated
Help plugin plugin activated
Source Exporter plugin activated
wxSmith - Contrib Items plugin activated
HexEditor plugin activated
Keyboard shortcuts plugin activated
Class wizard plugin activated
Header Fixup plugin activated
Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).
Library finder plugin activated
DragScroll plugin activated
Symbol Table Plugin plugin activated
Code snippets plugin activated
Environment variables plugin activated
To-Do List plugin activated
BrowseTracker plugin activated
Koders query plugin activated
Foreign projects importer plugin activated
Files extension handler plugin activated
Regular expressions testbed plugin activated
BYO Games plugin activated
Debugger plugin activated
IncrementalSearch plugin activated
Code statistics plugin activated
Source code formatter (AStyle) plugin activated
Added compiler "GNU GCC Compiler"
Segmentation fault
Before I was at rev 5402 which worked OK.
Quoted.Replace(_T("??), _T("\""), true);
Quoted.Replace(_T("??), _T("\""), true);
Quoted.Replace(_T("??"), _T("\""), true);
Quoted.Replace(_T("??"), _T("\""), true);
g++ -Wall -g -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -fmessage-length=0 -fexceptions -Winvalid-pch -Ulinux -Uunix -fPIC -DcbDEBUG -DCB_PRECOMP -Iinclude -Iplugins/compilergcc/depslib/src -Iinclude/scripting/include -Iinclude/scripting/sqplus -Iinclude/wxscintilla/include -c /home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp -o .objs/plugins/compilergcc/compilergcc.o
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371:28: warning: trigraph ??) ignored, use -trigraphs to enable
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371: error: stray ‘\’ in program
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372:28: warning: trigraph ??) ignored, use -trigraphs to enable
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372: error: stray ‘\’ in program
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp: In member function ‘void CompilerGCC::LogMessage(const wxString&, CompilerLineType, LogTarget, bool, bool, bool)’:
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371: error: no matching function for call to ‘wxString::Replace(const wchar_t [9], bool)’
/usr/include/wx-2.8/wx/string.h:1175: note: candidates are: size_t wxString::Replace(const wxChar*, const wxChar*, bool)
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372: error: no matching function for call to ‘wxString::Replace(const wchar_t [9], bool)’
/usr/include/wx-2.8/wx/string.h:1175: note: candidates are: size_t wxString::Replace(const wxChar*, const wxChar*, bool)
at the guy who committed today : linux version is broken :Who is that guy? :lol:
[...]
Added compiler "GNU GCC Compiler"
Segmentation fault
This I didn't touch at all...?! And in addition: it looks fine for me in SVN an on my local copy...?!CodetoQuoted.Replace(_T("??), _T("\""), true);
Quoted.Replace(_T("??), _T("\""), true);CodeQuoted.Replace(_T("??"), _T("\""), true);
Quoted.Replace(_T("??"), _T("\""), true);
C::B core (built with C::B) works without problems.I build a patch.
I try it with plugins now, and if it still works, I try automake.
@mmkider
no such error here, if I change it manually I get a compile error, not a segfault at runtime:Codeg++ -Wall -g -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -fmessage-length=0 -fexceptions -Winvalid-pch -Ulinux -Uunix -fPIC -DcbDEBUG -DCB_PRECOMP -Iinclude -Iplugins/compilergcc/depslib/src -Iinclude/scripting/include -Iinclude/scripting/sqplus -Iinclude/wxscintilla/include -c /home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp -o .objs/plugins/compilergcc/compilergcc.o
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371:28: warning: trigraph ??) ignored, use -trigraphs to enable
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371: error: stray ‘\’ in program
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372:28: warning: trigraph ??) ignored, use -trigraphs to enable
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372: error: stray ‘\’ in program
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp: In member function ‘void CompilerGCC::LogMessage(const wxString&, CompilerLineType, LogTarget, bool, bool, bool)’:
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371: error: no matching function for call to ‘wxString::Replace(const wchar_t [9], bool)’
/usr/include/wx-2.8/wx/string.h:1175: note: candidates are: size_t wxString::Replace(const wxChar*, const wxChar*, bool)
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372: error: no matching function for call to ‘wxString::Replace(const wchar_t [9], bool)’
/usr/include/wx-2.8/wx/string.h:1175: note: candidates are: size_t wxString::Replace(const wxChar*, const wxChar*, bool)
This I didn't touch at all...?! And in addition: it looks fine for me in SVN an on my local copy...?!CodetoQuoted.Replace(_T("??), _T("\""), true);
Quoted.Replace(_T("??), _T("\""), true);CodeQuoted.Replace(_T("??"), _T("\""), true);
Quoted.Replace(_T("??"), _T("\""), true);
I build a patch.
If you have a litte time, you can try it.
Index: compilergcc.cpp
===================================================================
--- compilergcc.cpp (revision 5406)
+++ compilergcc.cpp (working copy)
@@ -3368,8 +3368,9 @@
}
// replace the ´ family by "
wxString Quoted = message;
- Quoted.Replace(_T("‘"), _T("\""), true);
- Quoted.Replace(_T("’"), _T("\""), true);
+ Quoted.Replace(_T("??"), _T("\""), true);
+ Quoted.Replace(_T("??"), _T("\""), true);
+
m_BuildLogContents << Quoted;
if (isTitle)
For me it's windows-950.I build a patch.
If you have a litte time, you can try it.
Here is your patch as it looked like if I open it in "vi":CodeIndex: compilergcc.cpp
===================================================================
--- compilergcc.cpp (revision 5406)
+++ compilergcc.cpp (working copy)
@@ -3368,8 +3368,9 @@
}
// replace the ´ family by "
wxString Quoted = message;
- Quoted.Replace(_T(""), _T("\""), true);
- Quoted.Replace(_T(""), _T("\""), true);
+ Quoted.Replace(_T("??"), _T("\""), true);
+ Quoted.Replace(_T("??"), _T("\""), true);
+
m_BuildLogContents << Quoted;
if (isTitle)
What encoding hass the file ("compilergcc.cpp"), if you open it with C::B, for me it's UTF-8.
trunk/src/include/macrosmanager.h
trunk/src/sdk/macrosmanager.cpp
Can this be removed until things have been cleared out ?Sure. Go ahead.