GNU bug report logs -
#27597
[PATCH] fix warnings in src/xdisp.c
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27597 in the body.
You can then email your comments to 27597 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#27597
; Package
emacs
.
(Thu, 06 Jul 2017 11:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alexander Kuleshov <kuleshovmail <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 06 Jul 2017 11:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
here is simple fix for following warnings:
xdisp.c: In function ‘Fdump_glyph_matrix’:
xdisp.c:19320:20: error: format ‘%lld’ expects argument of type ‘long
long int’, but argument 3 has type ‘ptrdiff_t {aka long int}’
[-Werror=format=]
fprintf (stderr, "PT = %"pI"d, BEGV = %"pI"d. ZV = %"pI"d\n",
from src/xdisp.c
[0001-use-pD-directives-for-ptrdiff_t-values-to-get-rid-fr.patch (text/x-patch, attachment)]
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 08 Jul 2017 08:20:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alexander Kuleshov <kuleshovmail <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 08 Jul 2017 08:20:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 27597-done <at> debbugs.gnu.org (full text, mbox):
> From: Alexander Kuleshov <kuleshovmail <at> gmail.com>
> Date: Thu, 6 Jul 2017 17:47:03 +0600
>
> here is simple fix for following warnings:
>
> xdisp.c: In function ‘Fdump_glyph_matrix’:
> xdisp.c:19320:20: error: format ‘%lld’ expects argument of type ‘long
> long int’, but argument 3 has type ‘ptrdiff_t {aka long int}’
> [-Werror=format=]
> fprintf (stderr, "PT = %"pI"d, BEGV = %"pI"d. ZV = %"pI"d\n",
>
> from src/xdisp.c
Thanks, pushed to master.
In the future, please provide a commit log message that is according
to our coding standards:
. mention the names of functions in which you make changes
. start sentences with a capital letter
. mention the bug number
Here's the log message I used in this case:
* src/xdisp.c (dump_glyph, dump_glyph_row, Fdump_glyph_matrix):
Use pD directives for ptrdiff_t values instead of pI, to avoid
compilation warnings on 64-bit hosts. (Bug#27597)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#27597
; Package
emacs
.
(Sat, 08 Jul 2017 10:30:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 27597-done <at> debbugs.gnu.org (full text, mbox):
On Sat, Jul 8, 2017 at 2:19 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Alexander Kuleshov <kuleshovmail <at> gmail.com>
>> Date: Thu, 6 Jul 2017 17:47:03 +0600
>>
>> here is simple fix for following warnings:
>>
>> xdisp.c: In function ‘Fdump_glyph_matrix’:
>> xdisp.c:19320:20: error: format ‘%lld’ expects argument of type ‘long
>> long int’, but argument 3 has type ‘ptrdiff_t {aka long int}’
>> [-Werror=format=]
>> fprintf (stderr, "PT = %"pI"d, BEGV = %"pI"d. ZV = %"pI"d\n",
>>
>> from src/xdisp.c
>
> Thanks, pushed to master.
>
> In the future, please provide a commit log message that is according
> to our coding standards:
>
> . mention the names of functions in which you make changes
> . start sentences with a capital letter
> . mention the bug number
>
> Here's the log message I used in this case:
>
> * src/xdisp.c (dump_glyph, dump_glyph_row, Fdump_glyph_matrix):
> Use pD directives for ptrdiff_t values instead of pI, to avoid
> compilation warnings on 64-bit hosts. (Bug#27597)
>
Hello Eli,
Yes, thanks, I'll take into account code style next time.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 05 Aug 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 15 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.