mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 10:01:36 +02:00
![]() New warnings come from 3 places 1. Warning C5287: Warning comes from json_lib.c from code like compile_time_assert((int) JSON_VALUE_NULL == (int) JSV_NULL); 2. Warning C5287: Similar warning come from wc_static_assert() from code in wolfSSL's header file 3. Warning C5286 in WolfSSL code, -enum_value (i.e multiplying enum with -1)is used To fix: - Disable warnings in WolfSSL code, using /wd<num> flag. - workaround warning for users of WolfSSL, disable wc_static_assert() with -DWC_NO_STATIC_ASSERT compile flag - Rewrite some compile_time_assert in json_lib.c to avoid warning. - add target_link_libraries(vio ${SSL_LIBRARIES}) so that vio picks up -DWC_NO_STATIC_ASSERT |
||
---|---|---|
.. | ||
docs | ||
CMakeLists.txt | ||
test-ssl.c | ||
test-sslclient.c | ||
test-sslserver.c | ||
vio.c | ||
vio_priv.h | ||
viopipe.c | ||
viosocket.c | ||
viossl.c | ||
viosslfactories.c | ||
viotest-ssl.c | ||
viotest-sslconnect.cc | ||
viotest.cc |