Closed Lucretia closed 4 months ago
Also, probably not a good idea to include /opt/amiga-gcc/m68k-amigaos/sys-include/threads.h
in the install either.
Also, the -pthread
option is not supported.
Why won't you fix it? Configure systems like MESON, autoconfig, etc. detect false positives.
From, c11:
2 Implementations that define the macro STDC_NO_THREADS need not provide this header nor support any of its facilities.
Yet you do.
$ m68k-amigaos-gcc hello.c -o hello
In file included from hello.c:2:
/home/laguest/opt/amiga-gcc/m68k-amigaos/sys-include/threads.h:30:10: fatal error: machine/_threads.h: No such file or directory
30 | #include <machine/_threads.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
This file should not be included if the functionality is not there.