compiler warnings when compiling pascalscript 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 that should be fixed (also the hints make sense):
Compiling package pascalscript 0.0.0.1: Success, Warnings: 15
uPSRuntime.pas(1882,17) Warning: Conversion between ordinals and pointers is not portable
uPSRuntime.pas(1906,17) Warning: Conversion between ordinals and pointers is not portable
uPSRuntime.pas(3380,19) Warning: Symbol "VARTYPE" is deprecated
uPSRuntime.pas(5360,20) Warning: Symbol "VARTYPE" is deprecated
uPSRuntime.pas(8712,9) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
uPSRuntime.pas(8747,8) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
uPSRuntime.pas(9913,15) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
uPSRuntime.pas(9927,16) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
uPSRuntime.pas(11605,8) Warning: No size specified and unable to determine the size of the operands, using DWORD as default
uPSRuntime.pas(11885,37) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
uPSDebugger.pas(481,17) Warning: Local variable "lastfn" does not seem to be initialized
uPSCompiler.pas(10504,38) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
uPSCompiler.pas(10518,38) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
uPSR_graphics.pas(31,70) Warning: Symbol "Handle" is deprecated
uPSR_graphics.pas(32,61) Warning: Symbol "Handle" is deprecated
Mantis conversion info:
- Mantis ID: 27944
- OS: Win
- OS Build: Win 7
- Platform: Win