https://llvm.org/bugs/show_bug.cgi?id=28407

Alexander Cherepanov <ch3r...@openwall.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Alexander Cherepanov <ch3r...@openwall.com> ---
Now, this testcase is diagnosed as "test.c:5:9: error: flexible array member
'a' not allowed in otherwise empty struct". The message is wrong as the struct
is not otherwise empty -- it contains an unnamed field. Not sure if a separate
message for this case is worth the trouble, maybe something like "flexible
array member 'a' not allowed in struct without other named member" could do?

Should I file a separate PR for this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to