www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/02/04:54:56

Sender: eguerre AT clermont DOT inra DOT fr
Message-ID: <3160F7B6.2BC7@clermont.inra.fr>
Date: Tue, 02 Apr 1996 11:47:34 +0200
From: Anthony Eguerre <eguerre AT clermont DOT inra DOT fr>
Organization: INRA
MIME-Version: 1.0
To: delorie <djgpp AT delorie DOT com>
Subject: GCC v2

Hello
Im very interrested by your gnu C, its a very good software but I notice some bugs with the v2:

Try this small source:
#include <grx.h>
main()
{int pts[][2]={{830,100},{850,200},{10,300},{20,150}};
 GrSetMode(9,800,600,256);
 GrFilledPolygon(4,pts,1);
 while(!kbhit());
}

The polygon does not appeare... In fact it seem to be because 2 of the points are outside the screen (only in case of
the right)...

An Other:
main()
{int t[800][800];
 int i,j;
 for(j=0;j!=800;j++)
  for(i=0;i!=800;i++)
   t[j][i]=rand();
}
result: Stack Fault...
The GCC v2 dont like to big variables.

I also noticed bugs with the MouseGetEvent function but I dont understand in witch case.

PS: All this source work with my old version of gcc.

Please, if an other version of the gcc v2 is ready, mail to me where I can download it. Thanks.

				Anthony

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019