241 (sic!) compiler warnings and hints when compiling Laz 1.4.0 under Win with Qt
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 the menu Tools and select the last menu entry. There choose Qt as widgetset and press Build. The result are many hints about unused variables but also 2 warnings:
Compiling package LCL 1.4.0.4: Success, Warnings: 2, Hints: 239
qtobjects.pas(880,4) Note: User defined: CheckGDIObject TODO: make TQTImage a TQtResource
qtobjects.pas(3504,6) Note: User defined: TQtDeviceContext.drawImage workaround - possible qt4 bug with QPainter & RGB32 images.
qtobjects.pas(470,22) Hint: Parameter "maskRect" not used
qtobjects.pas(540,35) Hint: Parameter "AButton" not used
qtcaret.pas(88,20) Hint: Parameter "Widget" not used
qtcaret.pas(444,6) Note: User defined: remove complete property RespondToFocus after testing
qtcaret.pas(479,4) Note: User defined: TEmulatedCaret.Lock() remove this routine later, after testing on all platforms
qtcaret.pas(487,4) Note: User defined: TEmulatedCaret.UnLock() remove this routine later, after testing on all platforms
qtwidgets.pas(188,45) Hint: Parameter "AFlags" not used
qtwidgets.pas(3217,4) Note: User defined: TQtWidget.SlotKey: this is workaround for Qt bug which reports wrong keys with Shift+Ctrl pressed. Fixes #13470 (closed). LAST REVISION: Qt-4.7.4 20111023 fc14. zeljko
qtwidgets.pas(142,7) Hint: Parameter "AEvent" not used
qtwidgets.pas(3968,9) Note: Local variable "ACurrPos" not used
qtwidgets.pas(258,45) Hint: Parameter "AWithScrollOffset" not used
qtwidgets.pas(259,47) Hint: Parameter "AWithScrollOffset" not used
qtwidgets.pas(144,7) Hint: Parameter "AEvent" not used
qtwidgets.pas(5637,32) Hint: Mixing signed expressions and longwords gives a 64bit result
qtwidgets.pas(5641,34) Hint: Mixing signed expressions and longwords gives a 64bit result
qtwidgets.pas(721,34) Hint: Parameter "p1" not used
qtwidgets.pas(734,29) Hint: Parameter "Checked" not used
qtwidgets.pas(344,32) Hint: Parameter "minimum" not used
qtwidgets.pas(344,50) Hint: Parameter "maximum" not used
qtwidgets.pas(341,31) Hint: Parameter "p1" not used
qtwidgets.pas(8709,17) Hint: Local variable "Msg" does not seem to be initialized
qtwidgets.pas(795,31) Hint: Parameter "p1" not used
qtwidgets.pas(796,32) Hint: Parameter "p1" not used
qtwidgets.pas(846,33) Hint: Parameter "p1" not used
qtwidgets.pas(9091,4) Note: User defined: implement TQtTextEdit.getMaxLength
qtwidgets.pas(9137,4) Note: User defined: implement TQtTextEdit.setEchoMode
qtwidgets.pas(886,33) Hint: Parameter "AMode" not used
qtwidgets.pas(9147,4) Note: User defined: implement TQtTextEdit.setMaxLength
qtwidgets.pas(888,34) Hint: Parameter "ALength" not used
qtwidgets.pas(921,33) Hint: Parameter "fromIndex" not used
qtwidgets.pas(9755,6) Note: User defined: TQtTabWidget.getTabBar: we can remove QLCLTabWidget, and get it like StackWidget, objectName is qt_tabwidget_tabbar.
qtwidgets.pas(1049,28) Hint: Parameter "index" not used
qtwidgets.pas(1050,26) Hint: Parameter "p1" not used
qtwidgets.pas(1051,26) Hint: Parameter "index" not used
qtwidgets.pas(1280,31) Hint: Parameter "AItem" not used
qtwidgets.pas(11591,3) Note: Local variable "ASelected" not used
qtwidgets.pas(1275,31) Hint: Parameter "ARect" not used
qtwidgets.pas(1291,37) Hint: Parameter "ANewText" not used
qtwidgets.pas(1350,40) Hint: Parameter "current" not used
qtwidgets.pas(1350,67) Hint: Parameter "previous" not used
qtwidgets.pas(13010,4) Note: User defined: seem that we have qtbug with tristate listwidget items, so we must handle statemap somehow
qtwidgets.pas(13669,6) Note: Local variable "x" not used
qtwidgets.pas(1449,31) Hint: Parameter "ARect" not used
qtwidgets.pas(14052,4) Note: User defined: QSizeH implementation missing for TQtTreeWidget.getMaxColSize
qtwidgets.pas(1438,28) Hint: Parameter "ACol" not used
qtwidgets.pas(14058,4) Note: User defined: QSizeH implementation missing for TQtTreeWidget.getMinColSize
qtwidgets.pas(1439,28) Hint: Parameter "ACol" not used
qtwidgets.pas(14128,4) Note: User defined: QSizeH implementation missing for TQtTreeWidget.setMaxColSize
qtwidgets.pas(1444,29) Hint: Parameter "ACol" not used
qtwidgets.pas(1444,50) Hint: Parameter "AValue" not used
qtwidgets.pas(1445,29) Hint: Parameter "ACol" not used
qtwidgets.pas(1502,33) Hint: Parameter "item" not used
qtwidgets.pas(1502,57) Hint: Parameter "column" not used
qtwidgets.pas(15310,32) Hint: Mixing signed expressions and longwords gives a 64bit result
qtwidgets.pas(15314,34) Hint: Mixing signed expressions and longwords gives a 64bit result
qtwidgets.pas(1572,29) Hint: Parameter "checked" not used
qtwidgets.pas(1631,34) Hint: Parameter "Value" not used
qtwidgets.pas(1685,44) Hint: Parameter "AIsInputEvent" not used
qtwidgets.pas(480,26) Hint: Parameter "AWidget" not used
qtwidgets.pas(462,47) Hint: Parameter "AWithScrollOffset" not used
qtwidgets.pas(1179,27) Hint: Parameter "AIndex" not used
qtwidgets.pas(1180,28) Hint: Parameter "AIndex" not used
qtwidgets.pas(1180,45) Hint: Parameter "AValue" not used
qtwidgets.pas(1181,31) Hint: Parameter "ARect" not used
qtwidgets.pas(1187,31) Hint: Parameter "index" not used
qtwidgets.pas(1188,29) Hint: Parameter "index" not used
qtwidgets.pas(1189,35) Hint: Parameter "index" not used
qtwidgets.pas(1190,29) Hint: Parameter "index" not used
qtwidgets.pas(1191,29) Hint: Parameter "index" not used
qtwidgets.pas(1204,39) Hint: Parameter "AFirstVisibleOnly" not used
qtwidgets.pas(1211,33) Hint: Parameter "AValue" not used
qtwidgets.pas(1222,36) Hint: Parameter "option" not used
qtwidgets.pas(1223,33) Hint: Parameter "painter" not used
qtwidgets.pas(1223,53) Hint: Parameter "option" not used
qtwidgets.pas(1223,84) Hint: Parameter "index" not used
qtwidgets.pas(1743,34) Hint: Parameter "AIsOpenDialog" not used
qtwidgets.pas(1727,37) Hint: Parameter "directory" not used
qtthemes.pas(69,26) Hint: Parameter "DC" not used
qtthemes.pas(69,35) Hint: Parameter "Details" not used
qtthemes.pas(62,24) Hint: Parameter "DC" not used
qtthemes.pas(62,33) Hint: Parameter "Details" not used
qtthemes.pas(62,71) Hint: Parameter "R" not used
qtthemes.pas(62,81) Hint: Parameter "Edge" not used
qtthemes.pas(62,87) Hint: Parameter "Flags" not used
qtthemes.pas(62,104) Hint: Parameter "AContentRect" not used
qtthemes.pas(63,24) Hint: Parameter "DC" not used
qtthemes.pas(63,33) Hint: Parameter "Details" not used
qtthemes.pas(63,71) Hint: Parameter "R" not used
qtthemes.pas(63,81) Hint: Parameter "himl" not used
qtthemes.pas(63,99) Hint: Parameter "Index" not used
qtthemes.pas(70,34) Hint: Parameter "Details" not used
qtthemes.pas(54,44) Hint: Parameter "Window" not used
qtthemes.pas(54,58) Hint: Parameter "Target" not used
qtthemes.pas(54,71) Hint: Parameter "Bounds" not used
qtwsbuttons.pp(44,67) Hint: Parameter "AValue" not used
qtwsbuttons.pp(45,67) Hint: Parameter "AValue" not used
qtwsbuttons.pp(46,68) Hint: Parameter "AValue" not used
qtpagecontrol.inc(310,3) Note: Local variable "Page" is assigned but never used
qtwscomctrls.pp(306,4) Note: User defined: TToolBar implementation under LCL is wrong. TToolBar isn't TCustomControl but TWinControl. To avoid theoretical crashes we use TQtCustomControl here, but indeed it should be TQtWidget - so no viewport.
qtwscomctrls.pp(252,76) Hint: Parameter "AOrientation" not used
qtwscomctrls.pp(116,68) Hint: Parameter "AIndex" not used
qtwscomctrls.pp(117,91) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(118,93) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(127,103) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(121,97) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(122,96) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(123,95) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(124,93) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(126,96) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(119,93) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(120,95) Hint: Parameter "AColumn" not used
qtwscomctrls.pp(133,62) Hint: Parameter "AItem" not used
qtwscomctrls.pp(134,58) Hint: Parameter "AItem" not used
qtwscomctrls.pp(135,93) Hint: Parameter "AItem" not used
qtwscomctrls.pp(138,91) Hint: Parameter "AItem" not used
qtwscomctrls.pp(139,91) Hint: Parameter "AItem" not used
qtwscomctrls.pp(136,93) Hint: Parameter "AItem" not used
qtwscomctrls.pp(140,91) Hint: Parameter "AItem" not used
qtwscomctrls.pp(141,90) Hint: Parameter "AItem" not used
qtwscomctrls.pp(142,87) Hint: Parameter "AItem" not used
qtwscomctrls.pp(142,111) Hint: Parameter "PartialOK" not used
qtwscomctrls.pp(2109,6) Note: User defined: set workaround for QListView bug via QtList.GridSize
qtwscomctrls.pp(165,68) Hint: Parameter "AList" not used
qtwscomctrls.pp(165,101) Hint: Parameter "AValue" not used
qtwscontrols.pp(67,73) Hint: Parameter "AClientPos" not used
qtwscontrols.pp(69,86) Hint: Parameter "UseRightToLeftReading" not used
qtwscontrols.pp(69,109) Hint: Parameter "UseRightToLeftScrollBar" not used
qtwscontrols.pp(87,45) Hint: Parameter "AOldPos" not used
qtwscontrols.pp(40,68) Hint: Parameter "Window" not used
qtwscontrols.pp(41,35) Hint: Parameter "ADragImageList" not used
qtwscontrols.pp(42,35) Hint: Parameter "ADragImageList" not used
qtwscontrols.pp(43,40) Hint: Parameter "ADragImageList" not used
qtwscontrols.pp(44,7) Hint: Parameter "ALockedWindow" not used
qtwscontrols.pp(45,40) Hint: Parameter "ADragImageList" not used
qtwscontrols.pp(46,7) Hint: Parameter "ALockedWindow" not used
qtwsdialogs.pp(378,4) Note: User defined: WE MUST USE NON NATIVE DIALOGS HERE, OTHERWISE NO SIGNALS #16532 (closed).
qtwsdialogs.pp(719,4) Note: User defined: qt-4.5.0,qt-4.5.1 currently supports macosx only.
qtwsdialogs.pp(88,39) Hint: Parameter "ACommonDialog" not used
qtwsdialogs.pp(102,39) Hint: Parameter "ACommonDialog" not used
qtsystemtrayicon.pas(179,3) Note: Local variable "PaintData" not used
qtwsextctrls.pp(136,42) Hint: Parameter "AControl" not used
qtwsforms.pp(84,78) Hint: Parameter "AOldFormStyle" not used
qtwsforms.pp(85,61) Hint: Parameter "Small" not used
qtwsforms.pp(398,3) Note: Local variable "ActiveWin" not used
qtwsforms.pp(399,3) Note: Local variable "W" not used
qtwsforms.pp(90,37) Hint: Parameter "ACustomForm" not used
qtwsforms.pp(73,43) Hint: Parameter "aWidth" not used
qtwsforms.pp(73,51) Hint: Parameter "aHeight" not used
qtwsmenus.pp(60,74) Hint: Parameter "UseRightToLeftReading" not used
qtwsstdctrls.pp(44,71) Hint: Parameter "AIsHorizontal" not used
qtwsstdctrls.pp(120,38) Hint: Parameter "ACustomListBox" not used
qtwsstdctrls.pp(611,4) Note: User defined: implement TQtWSCustomListBox.SetColumnCount
qtwsstdctrls.pp(124,42) Hint: Parameter "ACustomListBox" not used
qtwsstdctrls.pp(124,74) Hint: Parameter "ACount" not used
qtwsstdctrls.pp(128,37) Hint: Parameter "ACustomListBox" not used
qtwsstdctrls.pp(56,20) Hint: Parameter "aLeft" not used
qtwsstdctrls.pp(56,27) Hint: Parameter "aTop" not used
qtwsstdctrls.pp(1404,6) Note: User defined: this is workaround for qt bug. see issue #20863 (closed)
qtwsstdctrls.pp(1531,4) Note: User defined: implement TQtWSCustomComboBox.SetArrowKeysTraverseList
qtwsstdctrls.pp(86,52) Hint: Parameter "ACustomComboBox" not used
qtwsstdctrls.pp(87,7) Hint: Parameter "NewTraverseList" not used
qtwsstdctrls.pp(95,32) Hint: Parameter "ACustomComboBox" not used
qtwsstdctrls.pp(98,81) Hint: Parameter "AItemHeight" not used
qtint.pp(134,32) Hint: Parameter "Small" not used
qtobject.inc(747,11) Hint: Mixing signed expressions and longwords gives a 64bit result
qtint.pp(121,35) Hint: Parameter "sessionManager" not used
qtint.pp(144,24) Hint: Parameter "CanvasHandle" not used
qtint.pp(146,28) Hint: Parameter "AComponent" not used
qtwinapih.inc(30,25) Hint: Parameter "hHk" not used
qtwinapih.inc(30,37) Hint: Parameter "ncode" not used
qtwinapih.inc(30,54) Hint: Parameter "wParam" not used
qtwinapih.inc(30,70) Hint: Parameter "lParam" not used
qtwinapih.inc(31,25) Hint: Parameter "lpPrevWndFunc" not used
qtwinapih.inc(31,51) Hint: Parameter "Handle" not used
qtwinapih.inc(31,66) Hint: Parameter "Msg" not used
qtwinapih.inc(31,78) Hint: Parameter "wParam" not used
qtwinapih.inc(31,94) Hint: Parameter "lParam" not used
qtwinapih.inc(46,47) Hint: Parameter "Planes" not used
qtwinapih.inc(50,29) Hint: Parameter "DC" not used
qtwinapih.inc(53,62) Hint: Parameter "LongFontName" not used
qtwinapi.inc(758,13) Hint: Conversion between ordinals and pointers is not portable
qtwinapi.inc(1379,8) Note: User defined: remove ifdef if I'm wrong about DT_WORDBREAK OBSERVATION
qtwinapi.inc(1440,4) Warning: User defined: HARDCODED WORKAROUND for qt-4.7.1 QPainter bug.
qtwinapih.inc(72,26) Hint: Parameter "Wnd" not used
qtwinapih.inc(72,37) Hint: Parameter "wSBflags" not used
qtwinapih.inc(72,47) Hint: Parameter "wArrows" not used
qtwinapih.inc(74,19) Hint: Parameter "Handle" not used
qtwinapi.inc(1557,13) Hint: Conversion between ordinals and pointers is not portable
qtwinapih.inc(76,30) Hint: Parameter "hdc" not used
qtwinapih.inc(76,40) Hint: Parameter "lprcClip" not used
qtwinapi.inc(1851,9) Hint: Parameter "AMetric" not used
qtwinapih.inc(77,29) Hint: Parameter "DC" not used
qtwinapih.inc(77,101) Hint: Parameter "Flags" not used
qtwinapi.inc(2251,6) Warning: User defined: workaround for Qt-4.8.XX bug (test with 4.8.3 release) !
qtwinapih.inc(93,33) Hint: Parameter "handle" not used
qtwinapih.inc(105,20) Hint: Parameter "DC" not used
qtwinapih.inc(105,29) Hint: Parameter "Bitmap" not used
qtwinapih.inc(105,46) Hint: Parameter "StartScan" not used
qtwinapih.inc(105,57) Hint: Parameter "NumScans" not used
qtwinapih.inc(105,73) Hint: Parameter "Bits" not used
qtwinapih.inc(105,92) Hint: Parameter "BitInfo" not used
qtwinapih.inc(105,113) Hint: Parameter "Usage" not used
qtwinapih.inc(131,24) Hint: Parameter "Handle" not used
qtwinapih.inc(131,39) Hint: Parameter "int" not used
qtwinapi.inc(4782,16) Hint: Conversion between ordinals and pointers is not portable
qtwinapih.inc(141,55) Hint: Parameter "bErase" not used
qtwinapih.inc(142,50) Hint: Parameter "Erase" not used
qtwinapi.inc(4926,13) Hint: Conversion between ordinals and pointers is not portable
qtwinapih.inc(155,33) Hint: Parameter "lpText" not used
qtwinapih.inc(155,59) Hint: Parameter "uType" not used
qtwinapih.inc(160,26) Hint: Parameter "lpMsg" not used
qtwinapih.inc(160,40) Hint: Parameter "Handle" not used
qtwinapih.inc(160,55) Hint: Parameter "wMsgFilterMin" not used
qtwinapih.inc(160,70) Hint: Parameter "wMsgFilterMax" not used
qtwinapih.inc(160,84) Hint: Parameter "wRemoveMsg" not used
qtwinapih.inc(169,71) Hint: Parameter "flags" not used
qtwinapih.inc(171,20) Hint: Parameter "hWnd" not used
qtwinapih.inc(177,99) Hint: Value parameter "PRcUpdate" is assigned but never used
qtwinapih.inc(186,24) Hint: Parameter "Handle" not used
qtwinapih.inc(187,33) Hint: Parameter "handle" not used
qtwinapih.inc(205,47) Hint: Parameter "bRedraw" not used
qtwinapih.inc(197,83) Hint: Parameter "bRedraw" not used
qtwinapih.inc(214,48) Hint: Parameter "uiParam" not used
qtwinapih.inc(214,82) Hint: Parameter "fWinIni" not used
qtlclintfh.inc(32,30) Hint: Parameter "AHandle" not used
qtlclintfh.inc(33,3) Hint: Parameter "AEventHandler" not used
qtlclintfh.inc(33,30) Hint: Parameter "AData" not used
qtlclintfh.inc(34,33) Hint: Parameter "AHandle" not used
qtlclintfh.inc(35,3) Hint: Parameter "AEventHandler" not used
qtlclintfh.inc(35,35) Hint: Parameter "AData" not used
qtlclintfh.inc(37,38) Hint: Parameter "HelpCtx" not used
qtlclintfh.inc(41,53) Hint: Parameter "ABrush" not used
qtlclintfh.inc(42,32) Hint: Parameter "AOldRect" not used
qtlclintfh.inc(66,41) Hint: Parameter "ADC" not used
qtlclintfh.inc(68,72) Hint: Parameter "ARect" not used
qtlclintfh.inc(70,28) Hint: Parameter "Window" not used
qtlclintfh.inc(70,42) Hint: Parameter "DC" not used
qtlclintfh.inc(73,38) Hint: Parameter "AHandler" not used
qtlclintfh.inc(74,41) Hint: Parameter "AHandler" not used
Mantis conversion info:
- Mantis ID: 27951
- OS: win
- OS Build: win 7
- Platform: win
- Version: 1.4
- Fixed in revision: 48842 (#aac691fd)