From: Junio C Hamano Date: Mon, 17 Apr 2023 18:31:11 GMT Subject: Re: [PATCH/RFD] fix connection via git protocol Message-ID: In-Reply-To: Junio C Hamano writes: >> #define STR_(s) # s >> -#define STR(s) STR_(s) >> +#define STR(s) (STR_(s) + BUILD_ASSERT_OR_ZERO(s)) > > OOoooh. Clever. A pointer plus N indexes into an array, but if the > offset is N then the pointer is left intact so the caller does not Sorry, but s/N/0/ obviously. > see the difference. > >> ... But the >> BUILD_ASSERT doesn't seem too bad to me. > > Indeed.