[Bug c++/32237] New: can't compile when a vector is based on a local struct
danielm77 at spray dot se
gcc-bugzilla@gcc.gnu.org
Wed Jun 6 18:57:00 GMT 2007
I can't compile this code:
void f()
{
struct a { int i; };
std::vector<a> v;
}
Moving the struct declaration out of the function solves the problem.
--
Summary: can't compile when a vector is based on a local struct
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danielm77 at spray dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32237
More information about the Gcc-bugs
mailing list