www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/03/14:26:33

From: "Thomas Harte" <T DOT Harte AT btinternet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: unsigned char *far : problems
Date: 3 Dec 1996 18:26:44 GMT
Organization: Dell Computer Corporation
Lines: 12
Message-ID: <01bbe146$95359e20$582449c2@default>
NNTP-Posting-Host: host-73-36-88.btinternet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have just moved over from a 'friendly' Microsoft compiler, and have tried
compiling some old problems, but it (v2.01) won't compile with the
following lines:-

unsigned char far *videobuf = (char far *)0xA0000000L;
unsigned int far *videobufw = (int far *)0xA0000000L;

as you can probably guess from the variable names, these are vital to the
screen update, so please help me. I am probably just missing something
really obvious, but I keep getting the error 'parse failed at line x : *'
and so on. HELP PLEASE!

- Raw text -


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