This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/61970] New: array subscript is above array bounds [-Werror=array-bounds]


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61970

            Bug ID: 61970
           Summary: array subscript is above array bounds
                    [-Werror=array-bounds]
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kaijun at seed dot net.tw

In Gcc 4.6 before can compiler OK.
but use GCC 4.8.2 (CentOS 7.0)can't comiler.

if comment code //virtual ~PriceLst();
I don't know why and how to fixed it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]