Date: Sun, 6 Jul 1997 17:40:52 +0300 (IDT) From: Eli Zaretskii To: Ross Boast cc: djgpp AT delorie DOT com Subject: Re: Help! In-Reply-To: <01bc88b2$d1dfe9c0$1f3963c3@rossa> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.