http://llvm.org/bugs/show_bug.cgi?id=21966
Bug ID: 21966
Summary: error: fields must have a constant size: 'variable
length array in structure' extension will never be
supported
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Ex
#define SOME_MACRO (var1, other_param) \
struct __attribute__((__packed__)) name_t {
char array[var1];
int i;
}__tmp;
...
and caller is
void foo(int var)
{
..
SOME_MACRO(var, ..)
Causing
error: fields must have a constant size: 'variable length array in structure'
extension will never be supported
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs