OS : MSWinXP
gcc: 3.4.2
gtk: gtkmm-win32-devel-2.10.8-1
problem: Glib::ustring
Assignment methods in Glib::ustring are giving me serious problems. Simple
statements as:
class MC{
Glib::ustring* str;
public:
void method();
};
MC::method(){
str = new Glib::ustring("Nada");
this->str = ""; //segmentation error
}
Or if I use this->str->assign("") create a segmentation error,
gdb reports the error as follows:
Program received a signal SIGSEGV, segmentation fault.
in std::string::assign(std::string const&)()
Why am I getting this error and how can I resolve it?
Thanks in Advance
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list