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.