
10 May
2010
10 May
'10
11:26 p.m.
AMDG Sakharuk, Vladimir wrote:
There is a warning when compiling unit test with gcc 4.3.3:
/app/local/pkgs/gcc/4.3.3/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.3/ ../../../../include/c++/4.3.3/bits/stl_algo.h: In function 'char* boost::debug::<unnamed>::prepare_window_title(const boost::debug::dbg_startup_info&)': /app/local/pkgs/gcc/4.3.3/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.3/ ../../../../include/c++/4.3.3/bits/stl_algo.h:190: warning: array subscript is above array bounds
Is there a way to remove warning programmatically?
This warning is a result of inlining + loop unrolling. I don't know a good way to get rid of it. In Christ, Steven Watanabe