leonardchan added a comment.

Hi! We've noticed that for our arm bots, we're getting some flaky builds that 
sometimes fail with `error: array designators are a C99 extension 
[-Werror,-Wc99-designator]` and sometimes don't fail. 2 questions:

1. I can't see it off the patch immediately, but do you know why for arm 
specifically we can only get this warning sometimes?
2. I noticed that for the `test/SemaCXX/c99.cpp` test, this warning is also 
diagnosed for the `-std=c++17` case. Are C-style designated initializers only 
invalid in c++20, or are they also invalid in 17?

Thanks.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59754/new/

https://reviews.llvm.org/D59754



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D59754: [... Leonard Chan via Phabricator via cfe-commits

Reply via email to