D - crash
- Sean L. Palmer (10/10) Jun 15 2002 I've narrowed it down further
- Walter (4/14) Jun 16 2002 Thanks for posting this, I'll have a look at it. -Walter
I've narrowed it down further alias float[2] vector2; typedef vector2 point2; // if I change this typedef to alias it works fine float distance(point2 a, point2 b) { point2 d; d[0] = b[0] - a[0]; // if I comment out this line it won't crash return 0.0f; } Wierd eh?
Jun 15 2002
Thanks for posting this, I'll have a look at it. -Walter "Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:aegidr$ts4$1 digitaldaemon.com...I've narrowed it down further alias float[2] vector2; typedef vector2 point2; // if I change this typedef to alias it worksfinefloat distance(point2 a, point2 b) { point2 d; d[0] = b[0] - a[0]; // if I comment out this line it won't crash return 0.0f; } Wierd eh?
Jun 16 2002