Khem Raj
Khem Raj
gcc 13 moved some includes around and as a result is no longer transitively included [1]. Explicitly include it for uint{32,64}_t. [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes Signed-off-by: Khem Raj
basename prototype has been removed from string.h from latest musl [1] compilers e.g. clang-18 flags the absense of prototype as error. therefore include libgen.h for providing it. [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
These are useful only with stabs debug format, which is not used on linux systems, gas ignores them silently, but clang assembler does not and rightly so. Signed-off-by: Khem Raj
…-args`) `gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It detected minor infelicity in `calloc()` API usage Fixes ../../git/src/relp.c: In function 'addToEpollSet': ../../git/src/relp.c:101:39: error: 'calloc' sizes specified with 'sizeof' in the...
This is found when building for musl C library systems where sys/time.h is not included indirectly and select() and timeval structs are used Fixes ../../git/tests/receive.c:64:17: error: variable has incomplete type...
clang errors about it | ../../git/tests/receive.c:71:34: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] | 71 | hdlr_enable(int sig, void (*hdlr)()) | |...
Newer versions of neon has added a check for non-null arguments for ne_set_request_body_buffer() API and this is triggered but older compiler only treats -Wnonnull as warning so all was fine,...
bzero() function needs this header to be included Signed-off-by: Khem Raj
# Please describe the purpose of this pull request Building with latest yocto which uses python 3.11 and clang 16 compiler build fails # Checklist * [ ] I have...