Re: [PATCH] usage: add NORETURN to BUG() function definitions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 22, 2017, 02:35 UTC
- Message-ID
- <xmqqh90dpqja.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <11cae8d7-46a6-9ab5-5bee-a7e6897c0a88@ramsayjones.plus.com>
Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
Show 9 quoted lines
> So, I don't know. Wait let me try your specific version: > > $ ~/sparse/sparse --version > v0.5.0-207-g14964df > $ ~/sparse/sparse usage.c > usage.c:220:6: error: symbol 'BUG_fl' redeclared with different type (originally declared at git-compat-util.h:1074) - different modifiers > $ > > Er, dunno. (This is on Linux Mint 18.1).
Oh, I don't question your expertise or competence. There must be something I am doing wrong, and the version of sparse I happened to have run was the easiest thing to point a finger at, but that does not seem to be it.
Thanks for helping. I'll find time to dig deeper to find what's breaking it for me.