This pull request fixes hints and warnings for the Delphi compilers.
It also fixes a compile error in Img32.Panels where PtInRect became ambiguous between Img32.Vector and WinApi.Windows.
For two warnings in Delphi 7-XE5 there is now a $IF because they emit a "variable not initialized" warning that is bogus, but those Delphi versions have a bug in the flow analyses if there are "continue" statements.
Delpihi 7 still emits a lot more warnings, but they are all compiler bugs. There isn't even a "continue", "break", "exit", "try/finally" near and especially not between the variable assignment and the its usage. But with this pull request Delphi 2009 and newer are warning/hint-free.
This pull request fixes hints and warnings for the Delphi compilers.
It also fixes a compile error in Img32.Panels where PtInRect became ambiguous between Img32.Vector and WinApi.Windows.
For two warnings in Delphi 7-XE5 there is now a $IF because they emit a "variable not initialized" warning that is bogus, but those Delphi versions have a bug in the flow analyses if there are "continue" statements.
Delpihi 7 still emits a lot more warnings, but they are all compiler bugs. There isn't even a "continue", "break", "exit", "try/finally" near and especially not between the variable assignment and the its usage. But with this pull request Delphi 2009 and newer are warning/hint-free.