Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Sugar13 on December 09, 2013, 04:04:28 am
-
when i type chinese char into the textbox, like this:
the cb will crash, and show a dialog with below message:
Assertion failed!
Program: D:\ProgramC\CodeBlocks\codeblocks.exe
File: sdk\wxscintilla\src\scintilla\lexlib/CharacterSet.h
Line: 83
Expression: val >= 0
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
what's wrong with it?
-
when i type chinese char into the textbox, like this:
Where is the text box? How can I reproduce this crash? which version of C::B?
-
textbox is where i input the source code, cb Build: Nov 25 2012, 09:32:38 - wx2.8.12 (Windows, unicode) - 32 bit, version is Release 12.11 rev 8629
-
textbox is where i input the source code, cb Build: Nov 25 2012, 09:32:38 - wx2.8.12 (Windows, unicode) - 32 bit, version is Release 12.11 rev 8629
OK, your C::B version is a bit old.
I don't have this kind of error in the recent nightly build version (Nightly builds (http://forums.codeblocks.org/index.php/board,20.0.html)), so I suggest you can do a upgrade. Also, maybe, you can try 13.12 RC (Release 12.11, RC1 has arrived (http://forums.codeblocks.org/index.php/topic,17075.0.html)).
-
ok, svn build rev 9455, this version is okey.
by the way, compiling the code makes a warning: multi-character character constant [-Wmultichar]
hao can i let the cb egnore this warning (hide this warning) ?
-
The compiler has told you - use "-Wno-mutltichar" if it doesn't work check the manual for your compiler.