compiler warnings when compiling leakview with Laz 1.4.0 under Win
Original Reporter info from Mantis: donovaly @donovaly
-
Reporter name:
Original Reporter info from Mantis: donovaly @donovaly
- Reporter name:
Description:
With a fresh installation of Lazarus 1.4.0 on a Windows PC just open a project of your choice and compile it. The result are compiler warnings and hints that should be fixed (also the hints deserve attention):
Compiling package leakview 1.0: Success, Warnings: 2, Hints: 6
dbginforeader.pas(51,2) Warning: User defined: This code is not thread-safe, and needs improvement
dbginforeader.pas(154,3) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
dbginforeader.pas(467,17) Hint: Converting the operands to "QWord" before doing the add could prevent overflow errors.
dbginforeader.pas(613,27) Hint: Converting the operands to "Int64" before doing the subtract could prevent overflow errors.
dbginforeader.pas(725,2) Warning: User defined: This code is not thread-safe, and needs improvement
dbginforeader.pas(840,6) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
dbginforeader.pas(849,6) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
dbginforeader.pas(855,6) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
Mantis conversion info:
- Mantis ID: 27950
- OS: win
- OS Build: win 7
- Platform: win
- Version: 1.4
- Fixed in version: 1.6