[llvm-bugs] [Bug 21689] missing-field-initializers too aggressive for C's {0}
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Nov 18 04:24:17 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=21689
Peter Wu <peter at lekensteyn.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |peter at lekensteyn.nl
Fixed By Commit(s)| |r314499
Resolution|--- |FIXED
--- Comment #5 from Peter Wu <peter at lekensteyn.nl> ---
This has been fixed with r314499 (https://reviews.llvm.org/D28148) which ended
up in Clang 6 (and by extension, Xcode 10).
As a workaround, include -Wno-missing-field-initializers for older compilers:
- GCC < 4.7 (CMAKE_C_COMPILER_ID "GNU")
- Clang < 6.0
- AppleClang < 10.0
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181118/72c5f54a/attachment.html>
More information about the llvm-bugs
mailing list