Windows.pas |
Top Previous Next |
User interface > Translation options > Input options > Definitions > Windows.pas
If there is no Definition set either of CPUX86 or of Win64 the Windows.pas cannot be parsed. That's because of the following code:
function InterlockedBitTestAndComplement(Base: PInteger; Offset: Integer): ByteBool; {$IFDEF CPUX86} ... {$ENDIF CPUX86} {$IFDEF Win64} ... {$ENDIF CPUX64}
There will remain a function declaration only and the parser will regard all following functions as sub-functions to this declaration. So nearly the whole file gets parsed, before the missing function body is discovered. This bug is very hard to find.
|
This page belongs to the DelphiXE2Cpp11 Documentation |
DelphiXE2Cpp11 home Content |