Why gcc 4.4 throws array bounds error which is not thrown by previous compilers?

Solution Unverified - Updated -

Issue

  • During compilation of V8 I get following errors:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algo.h:2178: error: array subscript is above array bounds
:
:
"cc1plus: warnings being treated as errors"

Environment

  • Red Hat Enterprise Linux 6.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content