Click here to Skip to main content
15,899,026 members

Comments by no_-_namee (Top 19 by date)

no_-_namee 29-Aug-14 6:27am View    
I add item to the the static vector in a non-static event.
no_-_namee 29-Aug-14 3:18am View    
If I summarize the problem, there are two classes.
And I should be able to access a parameter of the first class from the other class. It is not possible to create an instance of the class in the other class. So, I thought that I can define a static vector, and send the param via this vector. Do you have any other suggestion to resolve this problem ?
no_-_namee 17-Jul-14 9:31am View    
Hi Stefan,
You are right . There is a code line which includes type casting between OString and const char** as follows ;

name (OString) = data[1] (const char**);

This code is written a long time ago. And I should fix this crash. How can I resolve it ?

Thanks in advance,
no_-_namee 17-Jul-14 7:27am View    
I get a detailed message with GDB. It is as follows ;

#0 0x2b8b0410 in std::string::assign (this=0x7e3ff798, __s=0x2c080124 <Address 0x2c080124 out of bounds>, __n=0)
at /opt/ifx/Sources/inca/v2.5.0/toolchain/uclibc_toolchain_src/buildroot/toolchain_build_mips_nofpu/gcc-3.4.4-final/mips-linux-uclibc/libstdc++-v3/include/bits/basic_string.h:194
#1 0x2c0693f4 in ?? ()

Do you have any new idea about the cause of crash ?
Thanks,
no_-_namee 15-Jul-14 9:06am View    
I don't assign a string valu to an enum. I assign a string value to a string variable. Would it cause crash ?