[Solaris 11.4] binutils/bfd/aout-amiga.c unknown type name PTR for alloca #35
Closed
Description
/export/home/briggs/amiga-gcc/projects/binutils/bfd/aout-amiga.c:51:8: error: unknown type name ‘PTR’
51 | extern PTR alloca PARAMS ((size_t));
| ^~~
/export/home/briggs/amiga-gcc/projects/binutils/bfd/aout-amiga.c:51:12: warning: conflicting types for built-in function ‘alloca’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch]
51 | extern PTR alloca PARAMS ((size_t));
| ^~~~~~
make[4]: *** [Makefile:1761: aout-amiga.lo] Error 1
make binutils bfd...failed
The actual program text around this is:
#ifndef alloca
extern PTR alloca PARAMS ((size_t));
#endif
It looks as though this probably got broken in
(binutils/bfd/ChangeLog)
2021-04-05 Alan Modra <amodra@gmail.com>
* configure.ac: Don't check for long long or long double type.
Don't check for alloca.h, limits.h, stddef.h, stdlib.h, string.h,
strings.h, time.h, wchar.h, wctype.h or sys/time.h. Don't check
for strtoull, free, malloc, realloc, getenv, strstr, snprintf,
vsnprintf, strlen or setitimer. Sort AC_CHECK_DECLS.
Metadata
Assignees
Labels
No labels