This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems using g++ when using far modifier


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]