此代碼 int main() {
double d = 3.14;
float f = d;
}
產生與Vision C++ 2015年速遞警告: warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
我很想也看到這樣的警告與鏘(或GCC)編譯
我有很多來自boost庫頭的警告,有什麼辦法可以解決這個問題嗎? libs/boost/include/boost/numeric/ublas/detail/vector_assign.hpp:382:39: warning: typedef ‘reference’ locally defined but not used [-Wunused-local-typedefs]
typed
在系統: 的Fedora 21 的Ruby 2.1.7 GCC 4.9.2 我按照說明安裝simstring但AFER $ruby extconf.rb 試圖當指示make and make install,我得到一個錯誤: cc1plus: some warnings being treated as errors
Makefile:217: recipe for target 'export