[Xfc-dev] A little help
Ricardo M
tareasrick at yahoo.com.mx
Tue May 2 23:51:34 CEST 2006
Have a nice day
I've tried to writte a program with the treeview
class, but for some reason i don't understand, the
program abort in runtime, here's my code:
std::vector<GType> types;
for (int i=0; i<nCols; i++) {
types.push_back(G_TYPE_STRING);
}
Gtk::ListStore *model = new
Gtk::ListStore(nCols,types);
...
But when i compile the result is:
ClassGrid.cc: In constructor
`classGrid::classGrid(Xfc::String)':
ClassGrid.cc:49: warning: cannot pass objects of
non-POD type `class
std::vector<GType, std::allocator<GType> >' through
`...'; call will abort
at runtime
Any idea?
Thanks in advance
___________________________________________________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx
More information about the Xfc-dev
mailing list