http://llvm.org/bugs/show_bug.cgi?id=3540

           Summary: error: 'struct pppoe_tag' may not be used as an array
                    element due to flexible array member
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


getting this when compiling the attached

lev /tmp$ clang -emit-llvm pppoed.c 
In file included from /usr/src/libexec/pppoed/pppoed.c:1:
In file included from /usr/src/libexec/pppoed/pppoed.c:41:
/usr/include/netgraph/ng_pppoe.h:213:22: error: 'struct pppoe_tag' may not be
used as an array element due to flexible array member
 struct pppoe_tag tag[];
                     ^
1 diagnostic generated.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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

Reply via email to