Re: [PATCH] pkt-line: initialize packet_buffer to avoid macOS linker warning
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- May 28, 2026, 07:40 UTC
- Message-ID
- <CAHwyqnWjHTpWfbMcBHOabny5NQN7xTZmxew2yDWWu3AoosngWA@mail.gmail.com>
- In-Reply-To
- <xmqqse7cjku5.fsf@gitster.g>
Show 5 quoted lines
> According to Internet, Xcode 16.3 or newer introduced this insanity, > it seems. How about adding -fno-common to your CFLAGS? If it > solves the issue, then we can think about teaching config.mak.uname > to detect macOS with problematic versions of compilers and add the > flag as workaround.
Yes, this works:
``` make -s CFLAGS_APPEND="-fno-common" ```
Harald