From: Jorge Pereira Date: Thu, 1 Apr 2021 20:58:36 +0000 (-0300) Subject: eapol_test: Fix OSX build using clang >= 11 (#3855) (#4044) X-Git-Tag: release_3_0_22~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a7a6bfbdaae3674affc319354266384a635c84;p=thirdparty%2Ffreeradius-server.git eapol_test: Fix OSX build using clang >= 11 (#3855) (#4044) Fixes the eapol_test build using clang >= 11 ../src/radius/radius_client.c:817:24: error: cast to smaller integer type 'RadiusType' from 'void *' [-Werror,-Wvoid-pointer-to-enum-cast] RadiusType msg_type = (RadiusType) sock_ctx; --- diff --git a/scripts/ci/eapol_test/config_osx b/scripts/ci/eapol_test/config_osx index eb3aa352d9..1b2045d52b 100644 --- a/scripts/ci/eapol_test/config_osx +++ b/scripts/ci/eapol_test/config_osx @@ -9,7 +9,7 @@ # be modified from here. In most cases, these lines should use += in order not # to override previous values of the variables. -CFLAGS += -g3 -O0 -Wno-error=deprecated-declarations +CFLAGS += -g3 -O0 -Wno-error=deprecated-declarations -Wno-error=void-pointer-to-enum-cast CFLAGS += -I /usr/local/opt/openssl/include -I/usr/local/include/openssl LIBS += -L/usr/local/opt/openssl/lib -L/usr/local/lib