1 Aug
2020
1 Aug
'20
12:57 p.m.
Jonathan, On 20-08-01 13:24:23, Jonathan Osuch wrote:
We don't have any LDFLAGS, so why use it? Do we need the generality that it adds? It's just that it flags an annoying QA warning when compiling...
The addition of <fcntl.h> to unix.c doesn't seem to make any difference on my system. What is the benefit? O_RDONLY is defined in that header (https://pubs.opengroup.org/onlinepubs/009695399/basedefs/fcntl.h.html) which is included by sys/file.h via an #ifndef statement.
So, compiling fails when respecting strict POSIX rules like the musl library does. David.