On 02/26/2018 02:41 AM, Mustafa i. wrote:
> Hello,
>
> What exactly is the -Warray-bounds option to the GCC compiler supposed
> to warn about?
It's meant to warn for out of bounds array access.
For example, if you have a 10 element array, but try to access the 11th
element you should get a warnin
Hello,
What exactly is the -Warray-bounds option to the GCC compiler supposed to
warn about?
My g++ --version: g++ (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2)
Regards,
Mustafa
On Wed, Feb 21, 2018 at 9:19 PM, Jeff Law wrote:
> On 02/21/2018 03:20 PM, Mustafa i. wrote:
> > Hi,
> >
> > I have a qu