Problems using g++ when using far modifier

Greg Chicares chicares@mindspring.com
Sat Apr 1 00:00:00 GMT 2000


> 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.


More information about the Gcc-help mailing list