Mail Archives: djgpp/1995/11/19/23:22:29
> >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.
>
> Or much easier:
>
> #define far
Sounds good initially, but this could lead to unexpected side
effects. Eg. What happens if there are variables containing the "far"
substring such as GET_DISPLAY_FARPNTR?
********************************************************************
| 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 -