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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.