Mail Archives: djgpp/1995/11/16/04:22:58
Teng Yong Jeffrey wrote:
> I recently downloaded a public-domain text windowing package
> in the form of c-winsrc.txt from garbo.uwasa.fi
>
> I unzipped the files inside and try compiling them, but
> somehow I couldn't get DJGPP to recognize the "far"
> declarations - what's the problem?
Far pointers are used in the real mode segmented memory models. DJGPP
uses 32-bit linear memory model, and therefore the concept of a far
pointer makes no sense.
To compile your code you have to remove all the 'far' attributes from
your pointer declarations.
Regards, Ron.
********************************************************************
| Author.............. Ron Grunwald |
| Internet............ r DOT grunwald AT cowan DOT edu DOT au |
| Phone............... (09)273 8027 or (09)273 8468 |
|------------------------------------------------------------------|
| Department.......... Computer Operations and Systems Management |
| Division/Faculty.... Information Technology |
| Institute........... Edith Cowan University, Churchlands |
| Location............ Perth, Western Australia |
********************************************************************
"I don't have any solution but I certainly admire the problem!"
- Raw text -