Thread (9 messages) 9 messages, 4 authors, 2022-07-15

Re: [PATCH] unpack-objects: fix compilation warning/error due to missing braces

From: Jeff King <hidden>
Date: 2022-07-12 07:23:57

Possibly related (same subject, not in this thread)

On Tue, Jul 12, 2022 at 03:13:50AM -0400, Eric Sunshine wrote:
quoted
Since this is only a warning, and only a practical issue with -Werror I
wonder if a config.mak.dev change wouldn't be better, i.e. to provide a
-Wno-missing-braces for this older clang version.
I'm in favor of this. It would, of course, require extra
special-casing for Apple's clang for which the version number bears no
resemblance to reality since Apple invents their own version numbers.
I got PTSD reading that thread again, but in case anybody wants to dig
into this, I think there are some hints from the last time we discussed
this (starting at the end of this message and the subthread):

  https://lore.kernel.org/git/YQ2LdvwEnZN9LUQn@coredump.intra.peff.net/ (local)

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help