[Bug c/30124] New: gcc/vec.h line 538 references "vec" which is undefined (should be vec_)

mankatob at yahoo dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 8 21:30:00 GMT 2006


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



More information about the Gcc-bugs mailing list