我有一個使用Boost庫導致很多這些類型的警告消息的一段代碼: class x has virtual functions but non-virtual destructor
使用G ++ 4.1.2,我該如何暫時禁用該代碼塊的警告,然後讓他們再次之後。 我所嘗試的一切(編譯gcc診斷等)似乎只支持g ++的更高版本。 我該如何壓制這些警告?
cqq.rb:96 **warning: Statement not reached.**
/root/newpackage/lib.rb:727 **warning: instance variable @object not initialized**
Error: Your application used more memory than the safety cap of 500
我們發送郵件給我們的應用程序中有一個鏈接的客戶。在雅虎和Hotmail,每當用戶點擊鏈接會顯示以下警告 alt text http://img691.imageshack.us/img691/5402/warningp.jpg 的URL長加密查詢字符串。 有什麼辦法可以抑制這個彈出? 或如何貼心的郵件服務器,這不是一個有害的網站。
MainMenu.XIB對話框中出現警告。它說: Object: window(window) ID: 371 Type: Illegal Configuration Issue: This windows content rectangle does not lie entirely on the screen with the menu bar and may not be completel
使用該成員初始化... StatsScreen::StatsScreen(GameState::State level)
: m_Level(level) {
...//
}
我得到以下警告... extended initializer lists only available with -std=c++0x or -std=gnu++0x 的任何信息關於這個警告? 編