compiling TAChart in Lazarus 1.2.6 leads to dozens of compiler warnings
Original Reporter info from Mantis: donovaly @donovaly
-
Reporter name:
Original Reporter info from Mantis: donovaly @donovaly
- Reporter name:
Description:
I just compile my Project in debug mode. The project uses TAChart diagrams so that the TAChart component will be compiled. The result are dozens of warnings. Most of them are about unused variables but there are also some warning that might cause bugs. I think that cleaning the list of compilation warning would not harm. Here is the list::
"Compiling package IDEIntf 1.0" completed
C:\lazarus\components\tachart\numlib_fix\spe.pas(895,5) Warning: unreachable code
C:\lazarus\components\tachart\numlib_fix\spe.pas(1271,7) Note: Local variable "ErrorS" not used
C:\lazarus\components\tachart\tatextelements.pas(177,24) Hint: Value parameter "AValue" is assigned but never used
C:\lazarus\components\tachart\tatextelements.pas(178,29) Hint: Value parameter "AValue" is assigned but never used
C:\lazarus\components\tachart\tatextelements.pas(180,26) Hint: Value parameter "AValue" is assigned but never used
C:\lazarus\components\tachart\tachartaxis.pas(916,15) Warning: Symbol "Font" is deprecated
C:\lazarus\components\tachart\tachartaxis.pas(916,42) Warning: Symbol "Font" is deprecated
C:\lazarus\components\tachart\tachartaxis.pas(921,15) Warning: Symbol "Font" is deprecated
C:\lazarus\components\tachart\tachartaxis.pas(921,42) Warning: Symbol "Font" is deprecated
C:\lazarus\components\tachart\tatools.pas(1795,29) Warning: Symbol "OnHintPosition" is deprecated
C:\lazarus\components\tachart\tatools.pas(1796,19) Warning: Symbol "OnHintPosition" is deprecated
C:\lazarus\components\tachart\numlib_fix\mdt.pas(455,19) Hint: Local variable "ct" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\mdt.pas(317,47) Note: Local variable "nsi" is assigned but never used
C:\lazarus\components\tachart\numlib_fix\mdt.pas(317,52) Note: Local variable "nsb" is assigned but never used
C:\lazarus\components\tachart\numlib_fix\mdt.pas(618,29) Note: Local variable "lbi" is assigned but never used
C:\lazarus\components\tachart\numlib_fix\sle.pas(411,24) Note: Local variable "lbj" is assigned but never used
C:\lazarus\components\tachart\numlib_fix\sle.pas(411,29) Note: Local variable "lbi" is assigned but never used
C:\lazarus\components\tachart\numlib_fix\sle.pas(583,26) Hint: Local variable "au" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\sle.pas(843,25) Hint: Local variable "au" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\sle.pas(1051,25) Hint: Local variable "qr" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\sle.pas(1122,22) Hint: Parameter "i" not used
C:\lazarus\components\tachart\numlib_fix\sle.pas(1316,26) Hint: Local variable "al" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\sle.pas(1550,21) Hint: Local variable "al" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\sle.pas(1785,19) Hint: Local variable "ct" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\sle.pas(1906,22) Hint: Local variable "alt" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\sle.pas(2016,19) Hint: Local variable "ct" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\ipf.pas(106,51) Hint: Local variable "ca" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\ipf.pas(79,27) Note: Local variable "j" not used
C:\lazarus\components\tachart\numlib_fix\ipf.pas(516,13) Note: Local variable "px" not used
C:\lazarus\components\tachart\numlib_fix\ipf.pas(586,49) Hint: Local variable "ca" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\ipf.pas(882,20) Hint: Local variable "z" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\ipf.pas(886,3) Warning: Local variable "e22" does not seem to be initialized
C:\lazarus\components\tachart\numlib_fix\ipf.pas(823,12) Note: Local variable "ca" not used
C:\lazarus\components\tachart\tafuncseries.pas(764,3) Note: Local variable "level" is assigned but never used
C:\lazarus\components\tachart\tadiagram.pas(352,15) Note: Local variable "br" is assigned but never used
C:\lazarus\components\tachart\tadiagram.pas(804,48) Warning: Constructing a class "TDiaDecoratorList" with abstract method "Notify"
C:\lazarus\components\tachart\tadiagram.pas(23,15) Hint: Found abstract method: TDiaObject.Notify(&LtPos;TDiaObject>,TDiaObject);
C:\lazarus\components\tachart\tadiagram.pas(804,48) Warning: Constructing a class "TDiaDecoratorList" with abstract method "Changed"
C:\lazarus\components\tachart\tadiagram.pas(24,15) Hint: Found abstract method: TDiaObject.Changed(&LtPos;TDiaObject>,TDiaObject);
C:\lazarus\components\tachart\tadiagram.pas(130,13) Hint: Parameter "APoint" not used
C:\lazarus\components\tachart\tadiagram.pas(130,35) Hint: Parameter "AUnits" not used
C:\lazarus\components\tachart\tadiagramdrawing.pas(121,3) Note: Local variable "drawDecor" not used
"Compiling package TAChartLazarusPkg 1.0" completed
Options changed, recompiling clean with -B
Project "PolyAbbottCoat" successfully built
Mantis conversion info:
- Mantis ID: 26951
- OS: Windows
- OS Build: Windows 7
- Build: 1.2.6
- Platform: Windows
- Version: 1.2.6