Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] warning with gcc 4.3.3
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-10 19:26:29


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net