User Details
- User Since
- Jan 17 2017, 2:21 PM (457 w, 1 d)
Mon, Oct 13
Sep 17 2025
Sep 16 2025
Okay it looks like musl does not have the weird char* strerror_r: https://git.musl-libc.org/cgit/musl/tree/include/string.h#n66, so it will need to be conditional on glibc.
Sep 15 2025
rebase
rebase
rebase
rebase
silence warning instead
Sep 14 2025
avoid sys/types.h includes, and update test list
Aug 20 2025
Aug 5 2025
Aug 4 2025
This looks sensible to me. One suggestion would be to avoid the manual caching.
Aug 26 2024
Aug 23 2024
Aug 22 2024
Aug 21 2024
review comments
Also zero fp
Jul 8 2024
No sure how much the builtins optimization matters here but if it does the other workaround would be:
Jun 17 2024
It looks like removing this call to memcpy might actually also fix the TSan issue I tried to work around in https://reviews.freebsd.org/D28536. Might be time to try run the TSan testsuite again.
May 2 2024
May 1 2024
They should build for x86, that was the whole point of the upstream changes (supporting ieee 128-bit float in addition to ld80)
Mar 28 2024
Thanks for working on this. This reminds me of my efforts a few years ago to avoid the build-tools awkwardness: https://reviews.freebsd.org/D28253.
Mar 6 2024
Feb 25 2024
Feb 23 2024
Have you tried running the lsan test suite with this change?
Feb 2 2024
For example the linux joystick.h defines a bunch of ioctls that I don't see implemented on FreeBSD, so we really shouldn't claim support for it? Maybe the header should only includes the constants?
Jan 30 2024
Commit message should probably be qualified with "for kernel compilation"?
This LGTM but the commit message should also include the minimum Clang+GCC versions
Jan 29 2024
ping?
Jan 18 2024
Jan 14 2024
Based on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425#c56 we can use [[nodiscard]] with GCC 11 and higher which has the expected semantics. But for now this change seems fine
Both of these features are required by POSIX, %% also seems to be required:
https://pubs.opengroup.org/onlinepubs/009604499/utilities/xcu_chap02.html#tag_02_06_02
Jan 12 2024
Jan 2 2024
Looking at the Clang change that added -std=c17 (https://github.com/llvm/llvm-project/commit/5b6c0f75e01571851b767dc63a3229c962f464f1), the only difference is the value of __STDC_VERSION__, so unless code uses this in preprocessor macros it's identical to -std=c11
I had a look on godbolt to see which compiler versions support c17: https://godbolt.org/z/EGd4TqP3j
Dec 31 2023
Overall I'd be very happy to see the standard bumped to c17 but I'm not sure what the current minimum compiler versions are. But then again maybe it's time to say you need a c17 compiler for current...