Florian Weimer
Florian Weimer
I'm working on avoiding a userspace ABI break due to disabling vsyscall. Some of us want to remove vsyscall support as a form of security hardening. Unfortunately, that will break...
The safe_print_string function is declared in "misc.h". This avoids relying on an implicit function declaration, a C feature not necessarily present in C99 and later compilers.
The latter activates strict POSIX mode with glibc, which disables the declaration of usleep in , leading to an implicit function declaration. Related to: * https://fedoraproject.org/wiki/Changes/PortingToModernC * https://fedoraproject.org/wiki/Toolchain/PortingToModernC
The double `""` in `"SRP""` introduce a syntax error, causing this probe to fail always: https://github.com/m6w6/ext-http/blob/ff2148e3f14ab76babbabc7a759fc80fefd1e769/autoconf/pecl/libcurl.m4#L136C1-L136C90 ``` conftest.c: In function 'main': conftest.c:54:129: warning: missing terminating " character 54 | int...
Implicit function declarations are a historic language feature that were removed from C in 1999. Related to: * https://fedoraproject.org/wiki/Changes/PortingToModernC * https://fedoraproject.org/wiki/Toolchain/PortingToModernC
C99 compilers do not necessarily recognize implicit ints, so use int explicitly as the return type of main in CAN_DO. In HAVE_FUNC, supply a custom prototype to avoid an implicit...
Distributions are beginning to build with `-march=x86-64-v3`, for example Fedora ELN, so they trip over this. This conditional `#error` seems to be more of a reminder to xxHash developers and...
C99 does not support implicit ints and implicit function declarations (such as exit here). Avoid them, so that the configure check does not fail unconditionally with such compilers. Related to:...
The thread start routine must return `void *`, and `int` and `void *` are distinct types. Compilers increasingly issue errors instead of warnings for such type errors, and this causes...
The [older contribution guidelines](https://www.mono-project.com/community/contributing/) do not mention the CLA requirement the first time contributing to the Mono runtime is mentioned here: > **Contributing to the Mono runtime:** If you are...