gcc (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Output
[ 3%] Building C object libelf/CMakeFiles/ELF.dir/src/elf32_getphdr.c.o
In file included from /home/claunia/Retro68/libelf/src/elf32_getphdr.c:31:
/home/claunia/Retro68/libelf/src/config.h:56:1: warning: multi-line comment [-Wcomment]
56 | //#define strong_alias(name, aliasname) \
| ^
In file included from /home/claunia/Retro68/libelf/src/elf32_getphdr.c:40:
/home/claunia/Retro68/libelf/src/system.h:54:11: error: expected identifier or ‘(’ before ‘void’
54 | ((void *) ((char *) memcpy (dest, src, n) + (size_t) n))
| ^~~~
/home/claunia/Retro68/libelf/src/system.h:54:19: error: expected ‘)’ before ‘(’ token
54 | ((void *) ((char *) memcpy (dest, src, n) + (size_t) n))
| ^
make[2]: *** [libelf/CMakeFiles/ELF.dir/build.make:146: libelf/CMakeFiles/ELF.dir/src/elf32_getphdr.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:282: libelf/CMakeFiles/ELF.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
gcc --version:
Output