User forums > Nightly builds
The 18 October 2008 build (5274) is out.
hangl:
a little problem of using wxsmith.
First Create a wxsmith project, then add a wxStaticText on frame (or dialog) fill the lable with a Chinese world such as 中文。
compile project :
result error:
D:\codedump\test\testMain.cpp|66|error: converting to execution character set: Illegal byte sequence|
I am using GCC 4.2 WinXP SP2 Chinese.
hangl:
--- Quote from: hangl on November 03, 2008, 05:35:19 am ---a little problem of using wxsmith.
First Create a wxsmith project, then add a wxStaticText on frame (or dialog) fill the lable with a Chinese world such as 中文。
compile project :
result error:
D:\codedump\test\testMain.cpp|66|error: converting to execution character set: Illegal byte sequence|
I am using GCC 4.2 WinXP SP2 Chinese.
--- End quote ---
I have sloved the problem :the answer is using " -finput-charset=GBK"
:http://groups.csdn.net/wxWidgets/topic/27d5c4e9-97b9-465c-8f17-ccae289ec116.aspx.
critic:
When using a C++ templates (for example, with parameter T) the code completion feature doesn't work for object of specified type T = SomeClass (object is within the template class in public section).
Look for some code:
class SomeClass
{
public:
void some_method() {}
};
template <class T>
class TemplateClass
{
public:
T some_object;
};
int main()
{
SomeClass object1;
object1. //.!!! //Yes! Here code completion feature works good! (shown list with one item: ()some_method)
TemplateClass<SomeClass> object2;
object2.some_object. //...? //Here, I think, must be the same result, isn't it?
return 0;
}
Another problem with code completion - it doesn't work after functions, that return pointer, and -> printed after them.
Try this code as the above one:
class SomeClass
{
public:
void some_method1() {}
};
class AnotherClass
{
private:
SomeClass object;
public:
SomeClass* some_method2() {return &object;}
};
int main()
{
AnotherClass object;
object.some_method2()-> //...? //Here, I think, must be dropped down the list with one item: ()some_method1
return 0;
}
Please, fix this problems!
With regards, critic
hangl:
codesnippets crash!
double click an item created before( maybe almost year ago i do not remmber the exact time), CB Crashed .
=====================================================
Error occured on Friday, November 7, 2008 at 12:12:26.
D:\codeblocks\codeblocks.exe caused an Access Violation at location 038812c7 in module D:\codeblocks\share\codeblocks\plugins\codesnippets.dll Reading from location 00000190.
Registers:
eax=00000000 ebx=00d44a40 ecx=00000000 edx=00000000 esi=038cde90 edi=0023ec0c
eip=038812c7 esp=0023e6a0 ebp=0023e6b8 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
Call stack:
038812C7 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:038812C7
038A563D D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:038A563D
038A5EDD D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:038A5EDD
0385F9D4 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:0385F9D4
03860AB8 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:03860AB8
0386851D D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:0386851D
0386C141 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:0386C141
6CCCAC0E D:\codeblocks\wxmsw28u_gcc_cb.dll:6CCCAC0EDwarf Error: found dwarf version '16898', this reader only handles version 2 information. _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCCC1E9 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CCCC1E9 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCCC6AF D:\codeblocks\wxmsw28u_gcc_cb.dll:6CCCC6AF _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CDE27EA D:\codeblocks\wxmsw28u_gcc_cb.dll:6CDE27EA _ZN12wxWindowBase9TryParentER7wxEvent
6CCCC661 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CCCC661 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD692A9 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD692A9 _ZN10wxTreeCtrl11MSWOnNotifyEilPl
6CD15697 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD15697 _ZN8wxWindow12HandleNotifyEilPl
6CD1CBBE D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD1CBBE _ZN8wxWindow13MSWWindowProcEjjl
6CD17012 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD17012 _Z9wxWndProcP6HWND__jjl@16
77D18734 C:\WINDOWS\system32\USER32.dll:77D18734 GetDC
77D18816 C:\WINDOWS\system32\USER32.dll:77D18816 GetDC
77D1B89B C:\WINDOWS\system32\USER32.dll:77D1B89B GetParent
77D1B903 C:\WINDOWS\system32\USER32.dll:77D1B903 SendMessageW
7719AFF1 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.DLL:7719AFF1 Ordinal414
771BA3CB C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.DLL:771BA3CB Ordinal384
771BAB7F C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.DLL:771BAB7F Ordinal384
77D18734 C:\WINDOWS\system32\USER32.dll:77D18734 GetDC
77D18816 C:\WINDOWS\system32\USER32.dll:77D18816 GetDC
77D1C63F C:\WINDOWS\system32\USER32.dll:77D1C63F IsWindowUnicode
77D1C665 C:\WINDOWS\system32\USER32.dll:77D1C665 CallWindowProcW
6CD15ECA D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD15ECADwarf Error: found dwarf version '16898', this reader only handles version 2 information. _ZN8wxWindow16MSWDefWindowProcEjjl
6CD1C562 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD1C562 _ZN8wxWindow13MSWWindowProcEjjl
6CD6A720 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD6A720 _ZN10wxTreeCtrl13MSWWindowProcEjjl
6CD17012 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD17012 _Z9wxWndProcP6HWND__jjl@16
77D18734 C:\WINDOWS\system32\USER32.dll:77D18734 GetDC
77D18816 C:\WINDOWS\system32\USER32.dll:77D18816 GetDC
77D189CD C:\WINDOWS\system32\USER32.dll:77D189CD GetWindowLongW
77D18A10 C:\WINDOWS\system32\USER32.dll:77D18A10 DispatchMessageW
77D2D99D C:\WINDOWS\system32\USER32.dll:77D2D99D IsDialogMessageW
6CD1A053 D:\codeblocks\wxmsw28u_gcc_cb.dll:6CD1A053Dwarf Error: found dwarf version '16897', this reader only handles version 2 information.
Pecan:
--- Quote from: hangl on November 07, 2008, 05:42:51 am ---codesnippets crash!
double click an item created before( maybe almost year ago i do not remmber the exact time), CB Crashed .
=====================================================
Error occured on Friday, November 7, 2008 at 12:12:26.
D:\codeblocks\codeblocks.exe caused an Access Violation at location 038812c7 in module D:\codeblocks\share\codeblocks\plugins\codesnippets.dll Reading from location 00000190.
Registers:
eax=00000000 ebx=00d44a40 ecx=00000000 edx=00000000 esi=038cde90 edi=0023ec0c
eip=038812c7 esp=0023e6a0 ebp=0023e6b8 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
Call stack:
038812C7 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:038812C7
038A563D D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:038A563D
038A5EDD D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:038A5EDD
0385F9D4 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:0385F9D4
03860AB8 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:03860AB8
0386851D D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:0386851D
0386C141 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:0386C141
6CCCAC0E D:\codeblocks\wxmsw28u_gcc_cb.dll:6CCCAC0EDwarf Error: found dwarf version '16898', this reader only handles version 2 information. <snip>
--- End quote ---
Thanks for the report. but...
What operating system? What version of CodeBlocks? What version of CodeSnippets?
Does anyone know how to translate those absolute addresses to plugin locations?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version