Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
https://github.com/apache/qpid-cpp/actions/runs/4713107214/jobs/8358578523?pr=41#step:18:254
[192/740] sccache /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DXQ_EFFECTIVE_BOOLEAN_VALUE_HPP -Dqpidcommon_EXPORTS -I/home/runner/work/qpid-cpp/qpid-cpp/src -I/home/runner/work/qpid-cpp/qpid-cpp/src/../include -I/home/runner/work/qpid-cpp/qpid-cpp/BLD/src -I/home/runner/work/qpid-cpp/qpid-cpp/BLD/src/../include -isystem /usr/include/nss -isystem /usr/include/nspr -fvisibility-inlines-hidden -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -Wno-deprecated-declarations -Wno-error=cast-function-type -O2 -g -DNDEBUG -fPIC -pthread -MD -MT src/CMakeFiles/qpidcommon.dir/qpid/SaslFactory.cpp.o -MF src/CMakeFiles/qpidcommon.dir/qpid/SaslFactory.cpp.o.d -o src/CMakeFiles/qpidcommon.dir/qpid/SaslFactory.cpp.o -c /home/runner/work/qpid-cpp/qpid-cpp/src/qpid/SaslFactory.cpp /home/runner/work/qpid-cpp/qpid-cpp/src/qpid/SaslFactory.cpp: In constructor ‘qpid::CyrusSasl::CyrusSasl(const string&, const string&, const string&, const string&, int, int, bool)’: /home/runner/work/qpid-cpp/qpid-cpp/src/qpid/SaslFactory.cpp:215:46: warning: cast between incompatible function types from ‘int (*)(void*, int, const char**, unsigned int*)’ to ‘int (*)()’ [-Wcast-function-type] 215 | callbacks[i].proc = (CallbackProc*) &getUserFromSettings; | ^~~~~~~~~~~~~~~~~~~ /home/runner/work/qpid-cpp/qpid-cpp/src/qpid/SaslFactory.cpp:223:50: warning: cast between incompatible function types from ‘int (*)(sasl_conn_t*, void*, int, sasl_secret_t**)’ {aka ‘int (*)(sasl_conn*, void*, int, sasl_secret**)’} to ‘int (*)()’ [-Wcast-function-type] 223 | callbacks[i].proc = (CallbackProc*) &getPasswordFromSettings; | ^~~~~~~~~~~~~~~~~~~~~~~