C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Conflicts Between __fastcall and Windows Entry/Exit Code
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Windows entry/exit code and the __fastcall calling convention can
     conflict in their use of the ax register. As a result, using the
     following combinations of options and keywords will generate an
     error:
 
        ■ __fastcall, __far, Gw
 
        ■ __fastcall, __far, __export, GA
 
        ■ __fastcall, __far, __export, GD
 
        ■ __fastcall, __far, GA, GEf
 
        ■ __fastcall, __far, GD, GEf
 
        ■ __fastcall, __far, __export, GA, GEf
 
        ■ __fastcall, __far, __export, GD, GEf
                                    -♦-