the code reads: static inline size_t VEC_OP (T,base,embedded_size) \ (int alloc_) \ { \ return offsetof (VEC(T,base),vec) + alloc_ * sizeof(T); \ } \ ^--- this makes it hardly compileable
-- Summary: gcc/vec.h line 538 references "vec" which is undefined (should be vec_) Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mankatob at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30124