On 29 Apr 2012, at 14:42, fltkCoder wrote:

> 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?


Hard to say based on what you have shown here - we need to see the full context 
I suspect...



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

Reply via email to