https://sourceware.org/bugzilla/show_bug.cgi?id=31962
Bug ID: 31962
Summary: In function 'gldelf_x86_64_get_script':
Product: binutils
Version: 2.43 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: euloanty at live dot com
Target Milestone: ---
eelf_x86_64.c: In function 'gldelf_x86_64_get_script':
eelf_x86_64.c:2692:42: error: 'return' with no value, in function returning
non-void [-Wreturn-mismatch]
2692 | && link_info.separate_code) return
| ^~~~~~
eelf_x86_64.c:155:1: note: declared here
155 | gldelf_x86_64_get_script (int *isfile)
| ^~~~~~~~~~~~~~~~~~~~~~~~
CXX nat/x86-linux-tdesc.o
CXX nat/x86-linux.o
CXX nat/x86-xstate.o
CXX objc-lang.o
CXX objfiles.o
CXX observable.o
CXX opencl-lang.o
make[4]: *** [Makefile:1617: eelf_x86_64.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CXX osabi.o
eelf_i386.c: In function 'gldelf_i386_get_script':
eelf_i386.c:148: error: expected '{' at end of input
eelf_i386.c:147:1: warning: no return statement in function returning non-void
[-Wreturn-type]
147 | gldelf_i386_get_script (int *isfile)
| ^~~~~~~~~~~~~~~~~~~~~~
eelf_i386.c:147:30: warning: unused parameter 'isfile' [-Wunused-parameter]
147 | gldelf_i386_get_script (int *isfile)
| ~~~~~^~~~~~
--
You are receiving this mail because:
You are on the CC list for the bug.