0
我使用Linux Mint。我試圖從回購安裝wxWidgets的,並且做到了,但編制標準碼(從wxWidgets的項目模板)時得到這個警告(及以上):Wxwidgets - 很多警告與標準代碼
||=== 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]|