Hi, I have a bug, I can crash everything :)
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Wed Apr 19 15:03:00 GMT 2000
> See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
> instructions.
Thanks for your bug report. Please do have a look at
http://www.gnu.org/software/gcc/bugs.html
I could not really reproduce the problem, because I don't have
GL/glut.h.
In any case, your error is in
int numchild = 3;
typedef struct treenode
{
struct treenode * next;
struct treenode * child[numchild];
You can't have a class with a variable-size member.
Regards,
Martin
More information about the Gcc-bugs
mailing list