From: Junio C Hamano <gitster@pobox.com>
To: Ramsay Jones <ramsay@ramsayjones.plus.com>
Cc: Jeff King <peff@peff.net>, GIT Mailing-list <git@vger.kernel.org>
Subject: Re: [PATCH] usage: add NORETURN to BUG() function definitions
Date: Mon, 22 May 2017 11:46:00 +0900 [thread overview]
Message-ID: <xmqqd1b1pq1j.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <xmqqh90dpqja.fsf@gitster.mtv.corp.google.com> (Junio C. Hamano's message of "Mon, 22 May 2017 11:35:21 +0900")
Junio C Hamano <gitster@pobox.com> writes:
> Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
>
>> 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.
Hmph. I do not know what went wrong. The one I had in /usr/bin
that came from the distro was too old that it didn't give any useful
result and failed, and that was why I got v0.5.0-207-g14964df
installed in ~/gitstuff/bin/ which is early on my $PATH; I do not
think I did any other updates but now I am seeing happy results.
$ git checkout jk/bug-to-abort^1
$ make SP_OBJ=usage.sp sparse
GIT_VERSION = 2.13.0.3.g25cd291963
SP usage.c
usage.c:220:6: error: symbol 'BUG_fl' redeclared with diff...
And then with your fix, of course,
$ git checkout jk/bug-to-abort
$ make SP_OBJ=usage.sp sparse
GIT_VERSION = 2.13.0.4.g3d7dd2d3b6
SP usage.c
I am still puzzled but anyway now the problem is clearly on my end
and no longer reproduces, there is no reason to waste your time.
Sorry for the noise, and thanks for a fix again.
next prev parent reply other threads:[~2017-05-22 2:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-21 22:25 [PATCH] usage: add NORETURN to BUG() function definitions Ramsay Jones
2017-05-22 1:43 ` Junio C Hamano
2017-05-22 2:13 ` Ramsay Jones
2017-05-22 2:35 ` Junio C Hamano
2017-05-22 2:46 ` Junio C Hamano [this message]
2017-05-22 14:02 ` Ramsay Jones
2017-05-23 3:32 ` Junio C Hamano
2017-05-23 20:47 ` Ramsay Jones
2017-05-22 11:19 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqd1b1pq1j.fsf@gitster.mtv.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=ramsay@ramsayjones.plus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox