Integer types incompatibility
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
there seems to be a problem with the 'integer'
type: originally it is defined as 16-bit
signed int, objpas redefines it to be 32 bit.
sometimes this leads to the following:
compiler encounters forward procedure definition
in the interface section with an 'integer' parameter
(16 bit) and makes a note of it; than it processes
all units upon which this unit depends and one
of them (objpas) redefines 'integer' type to 32-bit.
now, when the compiler reaches implementation and
tries to find a matching procedure(integer), it can't, since
'integer' is not 16 bit any more. i encounter this problem
every time i try to build rtl (not via makefile, but ppc386 -B):
compiler stops on dos.pp complaining about envstr(integer)
Additional information:
Reporter: Denis Yarkvoy
EMail: gunky9 at geocities dot com
Mantis conversion info:
- Mantis ID: 2621
- OS: All
- Version: ?
- Fixed in version: 0.99.13