Not all units are recompiled when a default parameter was added to a method
Original Reporter info from Mantis: Mattias @lazidealist
-
Reporter name: Mattias Gaertner
Original Reporter info from Mantis: Mattias @lazidealist
- Reporter name: Mattias Gaertner
Description:
I was not able to reproduce this bug in a small example, so I give the lazarus revision numbers.
Compile lazarus svn 20230.
Then update to 20231 and compile again (not clean).
FPC will not rebuild all units, so some o files still contain the old method references.
This will result in a linker error:
C:\Programme\FPC\lazarus\ide\lazarus.pp(247,1) Error: Undefined symbol:
PASCALREADERTOOL_TPASCALREADERTOOL___PROPERTYHASSPECIFIER
TCODETREENODEANSISTRING
$BOOLEAN
This happens with fpc 2.3.1 too.
Mantis conversion info:
- Mantis ID: 13840
- Version: 2.2.5
- Fixed in version: 2.6.0
- Fixed in revision: 14503 (#1743c6f1)