On Mon, 21 May 2007 15:44:46 -0400 Giel van Schijndel <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] schreef: >> On Mon, 21 May 2007 15:07:04 -0400 [EMAIL PROTECTED] wrote: >> >>> Error 294 error C2059: syntax error : '{' >>> \lib\ivis_common\imdload.c 306 >>> >>> >>> poly->normal = (Vector3i){0.0f, 0.0f, 0.0f}; >>> >>> >>> >>> -------- >>> should be broken down into parts to fix. >>> >>> >> >> Index: lib/ivis_common/imdload.c >> >=================================================================== > >> --- lib/ivis_common/imdload.c (revision 1321) >> +++ lib/ivis_common/imdload.c (working copy) >> @@ -303,7 +303,9 @@ >> } >> else >> { >> - poly->normal = (Vector3i){0.0f, 0.0f, 0.0f}; >> + poly->normal.x = 0.0f; >> + poly->normal.y = 0.0f; >> + poly->normal.z = 0.0f; >> } >> >> if (poly->flags & iV_IMD_TEXANIM) >> >Any comments on this ? Doesn't the original code compile for you >or ? > I post error message first. Since error, no compile. That is C99 thing anyway, which is why you can no do that with MSVC.
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev