Compatibility of void pointers in procparam parameter lists in macpas mode
Original Reporter info from Mantis: Adriaan van Os
-
Reporter name: Adriaan van Os
Original Reporter info from Mantis: Adriaan van Os
- Reporter name: Adriaan van Os
Description:
In CodeWarrior, universal pointers in the parameter list of a formal procedure declaration, are compatible with any pointer type in the parameter list of the actual procedure that is passed as a procedure parameter. The attached patch implements this for FPC in macpas mode for the void Pointer type.
This adds two files to the testsuite.
Mantis conversion info:
- Mantis ID: 15777
- OS: Mac OS X
- OS Build: 10.5.2
- Build: svn trunk r14916
- Platform: Darwin
- Version: 2.5.1
- Fixed in version: 2.6.0
- Fixed in revision: 15010 (#0cfc6e1c)