This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problems using g++ when using far modifier
- To: help-gcc at gnu dot org
- Subject: Re: Problems using g++ when using far modifier
- From: Greg Chicares <chicares at mindspring dot com>
- Date: Mon, 03 Jan 2000 22:03:46 -0500
- Newsgroups: gnu.gcc.help
- Organization: MindSpring Enterprises
- References: <20000103202834.12430.00000216@ng-fm1.aol.com>
- Xref: wodc7nx0 gnu.gcc.help:2346
> I can't compile whit g++ when I code a function or variable that needs to use
> the far, _far, __far, _far16, or __far16 modifiers. Is there an specific
> library file that I need to include?
I've never seen those used except in 16-bit programs.
If you want to compile a 32-bit program from source
that was originally written with a 16-bit environment
in mind, you can just
#define far
#define _far
and so on to eliminate them.