delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/06/10:42:21

Date: Sun, 6 Jul 1997 17:40:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ross Boast <Rossa AT btinternet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Help!
In-Reply-To: <01bc88b2$d1dfe9c0$1f3963c3@rossa>
Message-ID: <Pine.SUN.3.91.970706174031.8624L-100000@is>
MIME-Version: 1.0

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 -


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