bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29348] gdb/build: format specifies type 'unsigned long' bu


From: amodra at gmail dot com
Subject: [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long')
Date: Sun, 31 Jul 2022 23:43:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29348

--- Comment #13 from Alan Modra <amodra at gmail dot com> ---
Thanks for testing the patch, and verifying the BFD_VMA_FMT problem is fixed.

  if (((info)->type == type_relocatable))
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
linker.c:1869:21: note: remove extraneous parentheses around the comparison to
silence this warning

The above is a silly warning.  The extra parens are from a macro expansion, and
it is good programming practice use parentheses around macro expressions. 
Configure with --disable-werror to avoid turning this warning into an error.

The m2-exp.y error is likely due to not using bison, or using an old version of
bison to generate m2-exp.c.  I don't think gdb requires that you use bison, so
you might like to report this as a separate bug, specifying the version of
bison or yacc on your system.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]