[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29348] gdb/build: format specifies type 'unsigned long' bu
From: |
lienze at sourceware dot org |
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 14:21:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29348
--- Comment #12 from Enze Li <lienze at sourceware dot org> ---
(In reply to Alan Modra from comment #11)
> Created attachment 14247 [details]
> proposed fix
>
> Please try out this patch.
I saw the following error on OpenBSD7.1 with this patch,
CC linker.lo
linker.c:1869:21: error: equality comparison with extraneous parentheses
[-Werror,-Wparentheses-equality]
if (((info)->type == type_relocatable))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
linker.c:1869:21: note: remove extraneous parentheses around the comparison to
silence this warning
if (((info)->type == type_relocatable))
~ ^ ~
linker.c:1869:21: note: use '=' to turn this equality comparison into an
assignment
if (((info)->type == type_relocatable))
^~
=
1 error generated.
gmake[4]: *** [Makefile:1752: linker.lo] Error 1
and the following on macOS(Intel) Catalina 10.15.7,
CXX m2-exp.o
In file included from m2-exp.y:42:
In file included from ./language.h:26:
In file included from ./symtab.h:39:
./split-name.h:34:3: error: expected identifier
DOT,
^
m2-exp.c:163:13: note: expanded from macro 'DOT'
#define DOT 302
^
In file included from m2-exp.y:42:
In file included from ./language.h:26:
./symtab.h:307:23: error: expected unqualified-id
style = split_style::DOT;
^
m2-exp.c:163:13: note: expanded from macro 'DOT'
#define DOT 302
^
2 errors generated.
make[2]: *** [m2-exp.o] Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), (continued)
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), amodra at gmail dot com, 2022/07/13
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), lienze at sourceware dot org, 2022/07/14
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), lienze at sourceware dot org, 2022/07/29
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), amodra at gmail dot com, 2022/07/30
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), lienze at sourceware dot org, 2022/07/30
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), amodra at gmail dot com, 2022/07/30
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), lienze at sourceware dot org, 2022/07/30
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), lienze at sourceware dot org, 2022/07/30
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), amodra at gmail dot com, 2022/07/30
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), amodra at gmail dot com, 2022/07/31
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'),
lienze at sourceware dot org <=
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), amodra at gmail dot com, 2022/07/31
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), cvs-commit at gcc dot gnu.org, 2022/07/31
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), cvs-commit at gcc dot gnu.org, 2022/07/31
- [Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long'), amodra at gmail dot com, 2022/07/31