Mail Archives: djgpp/1997/07/06/10:42:21
On 4 Jul 1997, Ross Boast wrote:
> _fmemset (video_buffer,(char)3,SCREEN_WIDTH*SCREEN_HEIGHT+1);
>
> i have defined these varibles and have allocated the mem (in 13h mode) i
> get :
> parse error before 'unsigned'
> which is weird coz i has no unsigned things in there!
`_fmemset' is Borland- or Microsoft-specific function. I'd guess that
you have it defined to something, and that something includes
`unsigned'.
>Also Why doesn't this
> line work under both C and C++?
>
> char far *video_buffer = (char far)0xA0000000L;
Read section 10.2 of the DJGPP FAQ list.
- Raw text -