Hi, I found a build warning, I'm using TDM-GCC 4.5 dw2 compiler, and the latest CC-branch rev 6345. As Morten merged from trunk yesterday.
It happened when I'm building CodeSnippets plugin
These are build warnings, see the build log:
-------------- Build: App - Win32 in Code Snippets ---------------
[ 3.7%] g++.exe -Wall -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DWXUSINGDLL -DHAVE_W32API_H -D__WXMSW__ -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DNO_LOGGING -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -I..\..\..\src -ID:\code\wxWidgets-2.8.11\include -ID:\code\wxWidgets-2.8.11\lib\gcc_dll\mswu -ISearch -Ieditor -I. -I..\..\..\include\tinyxml -I..\..\..\include\mozilla_chardet -c F:\cb\cb_ccbranch\src\plugins\contrib\codesnippets\Search\DirectoryParamsPanel.cpp -o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\DirectoryParamsPanel.o
F:\cb\cb_ccbranch\src\plugins\contrib\codesnippets\Search\DirectoryParamsPanel.cpp:18:17: warning: ..\..\..\include/sdk.h.gch: not used because `wxPG_USE_WXMODULE' not defined
[ 7.4%] g++.exe -Wall -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DWXUSINGDLL -DHAVE_W32API_H -D__WXMSW__ -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DNO_LOGGING -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -I..\..\..\src -ID:\code\wxWidgets-2.8.11\include -ID:\code\wxWidgets-2.8.11\lib\gcc_dll\mswu -ISearch -Ieditor -I. -I..\..\..\include\tinyxml -I..\..\..\include\mozilla_chardet -c F:\cb\cb_ccbranch\src\plugins\contrib\codesnippets\Search\SearchInPanel.cpp -o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\SearchInPanel.o
F:\cb\cb_ccbranch\src\plugins\contrib\codesnippets\Search\SearchInPanel.cpp:18:17: warning: ..\..\..\include/sdk.h.gch: not used because `wxPG_USE_WXMODULE' not defined
[ 11.1%] g++.exe -Wall -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DWXUSINGDLL -DHAVE_W32API_H -D__WXMSW__ -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DNO_LOGGING -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -I..\..\..\src -ID:\code\wxWidgets-2.8.11\include -ID:\code\wxWidgets-2.8.11\lib\gcc_dll\mswu -ISearch -Ieditor -I. -I..\..\..\include\tinyxml -I..\..\..\include\mozilla_chardet -c F:\cb\cb_ccbranch\src\plugins\contrib\codesnippets\Search\TextFileSearcher.cpp -o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\TextFileSearcher.o
F:\cb\cb_ccbranch\src\plugins\contrib\codesnippets\Search\TextFileSearcher.cpp:11:37: warning: ..\..\..\include/sdk.h.gch: not used because `wxPG_USE_WXMODULE' not defined
.....
[100.0%] g++.exe -L..\..\..\devel -L..\..\..\base\tinyxml -LD:\code\wxWidgets-2.8.11\lib\gcc_dll -o ..\..\..\devel\codesnippets.exe ..\..\..\.objs\plugins\contrib\codesnippets\app\snippetsconfig.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\DirectoryParamsPanel.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\InsertIndexManager.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\MainPanel.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\SearchInPanel.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\TextFileSearcher.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\TextFileSearcherRegEx.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\TextFileSearcherText.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearch.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchConfPanel.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchEvent.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchFindData.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchFrame.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchLoggerBase.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchLoggerList.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchLoggerTree.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchThread.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchTrace.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchView.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchViewManagerBase.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchViewManagerLayout.o ..\..\..\.objs\plugins\contrib\codesnippets\app\Search\ThreadSearchViewManagerMessagesNotebook.o ..\..\..\.objs\plugins\contrib\codesnippets\app\codesnippetsapp.o ..\..\..\.objs\plugins\contrib\codesnippets\app\codesnippetsevent.o ..\..\..\.objs\plugins\contrib\codesnippets\app\codesnippetstreectrl.o ..\..\..\.objs\plugins\contrib\codesnippets\app\codesnippetswindow.o ..\..\..\.objs\plugins\contrib\codesnippets\app\csutils.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\dragscroll.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\dragscrollcfg.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\dragscrollevent.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\editproperties.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\prefs.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\scbeditor.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\seditorbase.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\seditorcolourset.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\seditormanager.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editor\sprintdlg.o ..\..\..\.objs\plugins\contrib\codesnippets\app\editsnippetframe.o ..\..\..\.objs\plugins\contrib\codesnippets\app\settingsdlg.o ..\..\..\.objs\plugins\contrib\codesnippets\app\settingsdlgform.o ..\..\..\.objs\plugins\contrib\codesnippets\app\snippetitemdata.o ..\..\..\.objs\plugins\contrib\codesnippets\app\snippetproperty.o ..\..\..\.objs\plugins\contrib\codesnippets\app\snippetpropertyform.o ..\..\..\.objs\plugins\contrib\codesnippets\app\GenericMessageBox.o ..\..\..\.objs\plugins\contrib\codesnippets\app\snippetsimages.o ..\..\..\.objs\plugins\contrib\codesnippets\app\version.o ..\..\..\.objs\plugins\contrib\codesnippets\app\generic.res -Wl,--enable-auto-import -mthreads -lwxmsw28u -lwxscintilla -lcodeblocks -mwindows
Output size is 2.53 MB
[100.0%] Running project post-build steps
update.bat
Thanks.
EditOh, I found that there are two target in the Code snippet. One is to generate a DLL as plugin, the other is a exe file. The warning happend when I do a "rebuild workplace".