Mail Archives: djgpp/1998/08/09/11:19:20
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 <sys/movedata.h> header. To work around,
add
#include <sys/types.h>
at the top.
It's fixed in v2.02.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -