Sender: nate AT cartsys DOT com Message-ID: <35CDB822.50C3D4FE@cartsys.com> Date: Sun, 09 Aug 1998 07:54:26 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Tarad CC: djgpp AT delorie DOT com Subject: Re: Using a memory buffer in VGA mode 13h References: <01bdc2bb$36b2c3c0$2856f482 AT s-64584> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Tarad wrote: > > Hya, I just started learning graphic and I just run into a problem. Using > the guide to VGA mode 13h at: > http://www.delorie.com/djgpp/doc/ug/graphics/vga.html > using a memory buffer to store a picture before I draw it on te screen I > got some errors. The code snippet is on the above address, didn't won't to > paste it here. Compiling using DJGPP like this: > C:\>djgpp\gcc -c -Wall graphic.c -lm > I got the following error: > c:/djgpp/include/sys/movedata.h:22 parse error before `size_t' > (actually there was 12 of these on different lines but anyway). > > What did I do wrong? Nothing. That's a bug in the header. To work around, add #include at the top. It's fixed in v2.02. -- Nate Eldredge nate AT cartsys DOT com