pentoo / pentoo-overlay

Gentoo overlay for security tools as well as the heart of the Pentoo Livecd
323 stars 92 forks source link

net-wireless/mdk4-4.2_p20220118 fails to compile (CLANG-STRICTER-SYSTEM): channelhopper.c:48:11: error: incompatible pointer to integer conversion initializing pthread_t (aka unsigned long) with an expression of type void [-Wint-conversion] #1444

Open asarubbo opened 1 year ago

asarubbo commented 1 year ago

https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-wireless/mdk4-4.2_p20220118 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: pentoo_tinderbox)

NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting

At the time of writing, github-cli does not support attachments. I'm using gists but they can be deleted at a certain point. If you want to save them, please create attachments on your own.

build log: https://gist.github.com/b8c2a3e0da4b47611116874889244543

ElDavoo commented 2 weeks ago

Same issue, mdk4 currently impossible to compile, needs to be updated