Compilation Wxwidgets-大量带有标准代码的警告

Compilation Wxwidgets-大量带有标准代码的警告,compilation,wxwidgets,Compilation,Wxwidgets,我正在使用LinuxMint。我曾尝试从repos安装wxwidgets,并完成了安装,但在编译标准代码(从wxwidgets项目模板)时收到以下警告(以及更多): 当7.5年前wxWidgets 2.8发布时,-Wunused local typedefs警告不存在(或者至少默认情况下没有启用,我不再记得细节)。请改用wxWidgets 3.0.0,它没有这些警告,并且有大量新功能和错误修复 ||=== aaaa, Debug ===| /usr/include/wx-2.8/wx/buffe

我正在使用LinuxMint。我曾尝试从repos安装wxwidgets,并完成了安装,但在编译标准代码(从wxwidgets项目模板)时收到以下警告(以及更多):


当7.5年前wxWidgets 2.8发布时,
-Wunused local typedefs
警告不存在(或者至少默认情况下没有启用,我不再记得细节)。请改用wxWidgets 3.0.0,它没有这些警告,并且有大量新功能和错误修复

||=== aaaa, Debug ===|
/usr/include/wx-2.8/wx/buffer.h||In member function ‘void wxMemoryBuffer::AppendByte(char)’:|
/usr/include/wx-2.8/wx/debug.h|194|warning: typedef ‘wxDummyCheckInt’ locally defined but not used [-Wunused-local-typedefs]|
/usr/include/wx-2.8/wx/debug.h|224|note: in expansion of macro ‘wxFORCE_SEMICOLON’|
/usr/include/wx-2.8/wx/debug.h|233|note: in expansion of macro ‘wxCHECK2_MSG’|
/usr/include/wx-2.8/wx/buffer.h|289|note: in expansion of macro ‘wxCHECK_RET’|
/usr/include/wx-2.8/wx/vector.h||In member function ‘wxVectorBase& wxVectorBase::operator=(const wxVectorBase&)’:|
/usr/include/wx-2.8/wx/debug.h|194|warning: typedef ‘wxDummyCheckInt’ locally defined but not used [-Wunused-local-typedefs]|
/usr/include/wx-2.8/wx/debug.h|224|note: in expansion of macro ‘wxFORCE_SEMICOLON’|
/usr/include/wx-2.8/wx/debug.h|186|note: in expansion of macro ‘wxCHECK2_MSG’|
/usr/include/wx-2.8/wx/debug.h|183|note: in expansion of macro ‘wxCHECK_MSG’|
/usr/include/wx-2.8/wx/vector.h|129|note: in expansion of macro ‘wxCHECK’|
/usr/include/wx-2.8/wx/debug.h|194|warning: typedef ‘wxDummyCheckInt’ locally defined but not used [-Wunused-local-typedefs]|
/usr/include/wx-2.8/wx/debug.h|224|note: in expansion of macro ‘wxFORCE_SEMICOLON’|
/usr/include/wx-2.8/wx/debug.h|189|note: in expansion of macro ‘wxCHECK2_MSG’|
/usr/include/wx-2.8/wx/vector.h|148|note: in expansion of macro ‘wxCHECK2’|
/usr/include/wx-2.8/wx/vector.h|158|note: in expansion of macro ‘WX_DECLARE_VECTORBASE’|
/usr/include/wx-2.8/wx/clntdata.h|172|note: in expansion of macro ‘_WX_DECLARE_VECTOR’|
/usr/include/wx-2.8/wx/clntdata.h||In member function ‘void wxClientDataDictionaryPairVector::push_back(const wxClientDataDictionaryPair&)’:|
/usr/include/wx-2.8/wx/debug.h|194|warning: typedef ‘wxDummyCheckInt’ locally defined but not used [-Wunused-local-typedefs]|