Re: What's cooking in git.git (Jul 2022, #08; Fri, 29)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 29, 2022 at 04:18:59PM -0700, Junio C Hamano wrote:

> * jk/struct-zero-init-with-older-gcc (2022-07-29) 1 commit
>  - config.mak.dev: squelch -Wno-missing-braces for older gcc
> 
>  Older gcc with -Wall complains about the universal zero initializer
>  "struct s = { 0 };" idiom, which makes developers' lives
>  inconvenient (as -Werror is enabled by DEVELOPER=YesPlease).  The
>  build procedure has been tweaked to help them with thes compilers.
> 
>  Will merge to 'next'.
>  source: <YuQ60ZUPBHAVETD7@xxxxxxxxxxxxxxxxxxxxxxx>

If you get a chance before merging, can you please squash in this
typo-fix?

diff --git a/config.mak.dev b/config.mak.dev
index b9878a4994..4fa19d361b 100644
--- a/config.mak.dev
+++ b/config.mak.dev
@@ -60,7 +60,7 @@ endif
 # uninitialized warnings on gcc 4.9.2 in xdiff/xdiffi.c and config.c
 # not worth fixing since newer compilers correctly stop complaining
 #
-# Likwise, gcc older than 4.9 complains about initializing a
+# Likewise, gcc older than 4.9 complains about initializing a
 # struct-within-a-struct using just "{ 0 }"
 ifneq ($(filter gcc4,$(COMPILER_FEATURES)),)
 ifeq ($(filter gcc5,$(COMPILER_FEATURES)),)

Thanks.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux