I get a strange error while compiling this.

"Fl_Group *panes[3];
Fl_Group *grp2 = new Fl_Group(25, 75, 640, 605);
panes[2] = grp2;
grp2->end();"


The compiler returns:
error: expected unqualified-id before numeric constant
error: expected initializer before numeric constand
error: invalid conversion from 'int' to 'Fl_Group*'
error: base operand of '->' is not a pointer


The code looks correct. Why do I get this error?

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to