Mode switch OBJFPC not allowed here
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
I have a include file with mode set for DOS and/or WIN programs in all my units.
1)
Error : Mode switch OBJFPC not allowed here - with the 1.9.9 compiler.
With 1.9.6 work this fine.
2)
If i don't set the mode then the other error :
Error: Wrong number of parameters specified
Error: Unknown record field identifier "CURRHEAPFREE"
The compiler don't found the tHeapStatus.CurrHeapFree.
This has fine work with the 1.9.6 compiler.
Additional information:
Reporter: Sini
EMail: mir_sin at hotmail dot com
Mantis conversion info:
- Mantis ID: 5904
- OS: All
- Version: 1.9.9