https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61971
Bug ID: 61971 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.