FYI:
This is a report of the warnings one gets compiling C::B against wxWidgets 2.8.3 using MinGW GCC 3.4.5 with API 3.9
Terms:
Main: the code compiled by project file CodeBlocks.cbp
Contrib: the code compiled by workspace file ContribPlugins.workspace
SDK: the code under folder src/sdk
Main Plugins:the code under src/plugins, but NOT under src/plugins/contrib
Contrib Plugins:the code under src/plugins/contrib
Core: the code under src/src
Note: Testing done without ContribPlugins/CodeSnippets-msw because of errors when WXWIN_COMPATIBILITY_2_6=0.
Note: Testing done with the following patches applied.
Berlios Patch 1907 disable_compat26 Fixes for 2.8 (XRC Patches)
Berlios Patch 1908 disable_compat26 Fixes for 2.8 (SDK Patches)
Berlios Patch 1911 disable_compat26 Fixes for 2.8 (Tools Patch)
Berlios Patch 1897 personality=ask not working
Note: Sometimes Berlios Patch 1788 "SDK patch to reduce warning for wxWidgets 2.8" is applied.
With 2.6 compatible mode on (WXWIN_COMPATIBILITY_2_6=1, in lib\gcc_dll\mswu\wx\setup.h)
Without Berlios Patch 1788 "SDK patch to reduce warning for wxWidgets 2.8" applied.
Number Area
51 Main
25 Contrib
76 Total
Number Section
1 SDK/wxscintilla
22 SDK other
8 Core
8 MainPlugins/Compiler
3 MainPlugins/Debugger
3 MainPlugins/Code-completion
4 MainPlugins/Scripted wizard
2 MainPlugins/To-do
3 ContribPlugins/EnvVars Plug-In
3 ContribPlugins/C::B KeyBinder
8 ContribPlugins/Exporter/wxPdfDocument
11 ContribPlugins/wxSmith
?? ContribPlugins/CodeSnippets-msw
76 Total
With 2.6 compatible mode on (WXWIN_COMPATIBILITY_2_6=1, in lib\gcc_dll\mswu\wx\setup.h)
With Berlios Patch 1788 "SDK patch to reduce warning for wxWidgets 2.8" applied.
Number Area
29 Main
25 Contrib
54 Total
Number Section
1 SDK/wxscintilla
0 SDK other
8 Core
8 MainPlugins/Compiler
3 MainPlugins/Debugger
3 MainPlugins/Code-completion
4 MainPlugins/Scripted wizard
2 MainPlugins/To-do
3 ContribPlugins/EnvVars Plug-In
3 ContribPlugins/C::B KeyBinder
8 ContribPlugins/Exporter/wxPdfDocument
11 ContribPlugins/wxSmith
?? ContribPlugins/CodeSnippets-msw
54 Total
Tim S
Warnings with patches applied:
Berlios Patch 1907 disable_compat26 Fixes for 2.8 (XRC Patches)
Berlios Patch 1908 disable_compat26 Fixes for 2.8 (SDK Patches)
Berlios Patch 1911 disable_compat26 Fixes for 2.8 (Tools Patch)
Berlios Patch 1897 personality=ask not working
Tim S
:: === Code::Blocks, scintilla ===
\src\sdk\wxscintilla\src\wxscintilla.cpp:182: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
:: === Code::Blocks, sdk ===
\src\sdk\configuretoolsdlg.cpp:95: warning: comparison between signed and unsigned integer expressions
\src\sdk\editarrayfiledlg.cpp:70: warning: comparison between signed and unsigned integer expressions
\src\sdk\editarrayorderdlg.cpp:70: warning: comparison between signed and unsigned integer expressions
\src\sdk\editarrayorderdlg.cpp:92: warning: comparison between signed and unsigned integer expressions
\src\sdk\editarrayorderdlg.cpp:108: warning: comparison between signed and unsigned integer expressions
\src\sdk\editarraystringdlg.cpp:60: warning: comparison between signed and unsigned integer expressions
\src\sdk\editorconfigurationdlg.cpp:788: warning: comparison between signed and unsigned integer expressions
\src\sdk\finddlg.cpp:143: warning: comparison between signed and unsigned integer expressions
\src\sdk\multiselectdlg.cpp:82: warning: comparison between signed and unsigned integer expressions
\src\sdk\multiselectdlg.cpp:96: warning: comparison between signed and unsigned integer expressions
\src\sdk\multiselectdlg.cpp:108: warning: comparison between signed and unsigned integer expressions
\src\sdk\multiselectdlg.cpp:122: warning: comparison between signed and unsigned integer expressions
\src\sdk\multiselectdlg.cpp:170: warning: comparison between signed and unsigned integer expressions
\src\sdk\multiselectdlg.cpp:180: warning: comparison between signed and unsigned integer expressions
\src\sdk\multiselectdlg.cpp:190: warning: comparison between signed and unsigned integer expressions
\src\sdk\projectdepsdlg.cpp:76: warning: comparison between signed and unsigned integer expressions
\src\sdk\projectfileoptionsdlg.cpp:349: warning: comparison between signed and unsigned integer expressions
\src\sdk\projectoptionsdlg.cpp:757: warning: comparison between signed and unsigned integer expressions
\src\sdk\projectoptionsdlg.cpp:920: warning: comparison between signed and unsigned integer expressions
\src\sdk\projectoptionsdlg.cpp:981: warning: comparison between signed and unsigned integer expressions
\src\sdk\replacedlg.cpp:150: warning: comparison between signed and unsigned integer expressions
\src\sdk\virtualbuildtargetsdlg.cpp:60: warning: comparison between signed and unsigned integer expressions
:: === Code::Blocks, src ===
\src\src\associations.cpp:326: warning: comparison between signed and unsigned integer expressions
\src\src\compilersettingsdlg.cpp:220: warning: comparison between signed and unsigned integer expressions
\src\src\environmentsettingsdlg.cpp:423: warning: comparison between signed and unsigned integer expressions
\src\src\main.cpp:492: warning: `SetFrame' is deprecated (declared at /wxWidgets-2.8.3/include/wx/aui/framemanager.h:509)
\src\src\main.cpp:874: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\src\main.cpp:1232: warning: `GetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1405)
\src\src\main.cpp:1233: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\src\main.cpp:1236: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
:: === Code::Blocks, Compiler ===
\src\plugins\compilergcc\compilergcc.cpp:562: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\plugins\compilergcc\compileroptionsdlg.cpp:860: warning: comparison between signed and unsigned integer expressions
\src\plugins\compilergcc\compileroptionsdlg.cpp:1410: warning: comparison between signed and unsigned integer expressions
\src\plugins\compilergcc\compileroptionsdlg.cpp:1508: warning: comparison between signed and unsigned integer expressions
\src\plugins\compilergcc\compileroptionsdlg.cpp:1621: warning: comparison between signed and unsigned integer expressions
\src\plugins\compilergcc\compileroptionsdlg.cpp:1750: warning: comparison between signed and unsigned integer expressions
\src\plugins\compilergcc\compileroptionsdlg.cpp:1857: warning: comparison between signed and unsigned integer expressions
\src\plugins\compilergcc\compileroptionsdlg.cpp:1883: warning: comparison between signed and unsigned integer expressions
:: === Code::Blocks, Debugger ===
\src\plugins\debuggergdb\debuggergdb.cpp:577: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\plugins\debuggergdb\debuggeroptionsprjdlg.cpp:127: warning: comparison between signed and unsigned integer expressions
\src\plugins\debuggergdb\editwatchesdlg.cpp:96: warning: comparison between signed and unsigned integer expressions
:: === Code::Blocks, Code-completion ===
\src\plugins\codecompletion\ccoptionsprjdlg.cpp:125: warning: comparison between signed and unsigned integer expressions
\src\plugins\codecompletion\codecompletion.cpp:347: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\plugins\codecompletion\insertclassmethoddlg.cpp:45: warning: comparison between signed and unsigned integer expressions
:: === Code::Blocks, Scripted wizard ===
\src\plugins\scriptedwizard\filepathpanel.cpp:134: warning: comparison between signed and unsigned integer expressions
\src\plugins\scriptedwizard\filepathpanel.cpp:141: warning: comparison between signed and unsigned integer expressions
\src\plugins\scriptedwizard\filepathpanel.cpp:190: warning: comparison between signed and unsigned integer expressions
\src\plugins\scriptedwizard\filepathpanel.cpp:196: warning: comparison between signed and unsigned integer expressions
:: === Code::Blocks, To-do ===
\src\plugins\todo\addtododlg.cpp:102: warning: comparison between signed and unsigned integer expressions
\src\plugins\todo\addtododlg.cpp:155: warning: comparison between signed and unsigned integer expressions
:: === Build finished: 0 errors, 51 warnings ===
:: === EnvVars Plug-In, default ===
\src\plugins\contrib\envvars\envvars.cpp:213: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\envvars\envvars.cpp:410: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\envvars\envvars.cpp:460: warning: comparison between signed and unsigned integer expressions
:: === C::B KeyBinder, default ===
\src\plugins\contrib\keybinder\keybinder.cpp:1690: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\keybinder\keybinder.cpp:2114: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\keybinder\keybinder.cpp:2621: warning: comparison between signed and unsigned integer expressions
:: === Exporter, wxPdfDocument ===
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdffont.cpp:924: warning: comparison is always true due to limited range of data type
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfgraphics.cpp:275: warning: converting to `int' from `double'
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfgraphics.cpp:282: warning: converting to `int' from `double'
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfgraphics.cpp:409: warning: enumeration value `wxPDF_SEG_UNDEFINED' not handled in switch
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfkernel.cpp:862: warning: enumeration value `wxPDF_COLOURTYPE_UNKNOWN' not handled in switch
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfkernel.cpp:862: warning: enumeration value `wxPDF_COLOURTYPE_SPOT' not handled in switch
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfkernel.cpp:910: warning: enumeration value `wxPDF_COLOURTYPE_UNKNOWN' not handled in switch
\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfkernel.cpp:910: warning: enumeration value `wxPDF_COLOURTYPE_SPOT' not handled in switch
:: === wxSmith, wxSmith ===
\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxsdialog.cpp:147: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxsdialog.cpp:161: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxsframe.cpp:158: warning: `SetBestFittingSize' is deprecated (declared at /wxWidgets-2.8.3/include/wx/window.h:1410)
\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxstoolbareditor.cpp:473: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxstoolbareditor.cpp:507: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\wxSmith\wxwidgets\properties\wxsarraystringcheckeditordlg.cpp:156: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\wxSmith\wxwidgets\properties\wxsfonteditordlg.cpp:583: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\wxSmith\wxwidgets\properties\wxsfonteditordlg.cpp:626: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\wxSmith\wxwidgets\useritems\wxsuseritemeditor.cpp:237: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\wxSmith\wxwidgets\useritems\wxsuseritemeditor.cpp:277: warning: comparison between signed and unsigned integer expressions
\src\plugins\contrib\wxSmith\wxwidgets\useritems\wxsuseritemeditor.cpp:309: warning: comparison between signed and unsigned integer expressions
:: === Build finished: 0 errors, 25 warnings ===