Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.5.28, 10.6.21, 10.11.11, 11.4.5
-
None
-
None
-
OS: Microsoft Windows Server 2019
The CXX compiler: MSVC 19.29.30158.0
Description
We need to use C+17 because WolfSSL's static assert uses C17 feature but MariaDB uses C+11. So mysys_ssl/my_crypt.cc reports the following errors on MSVC compiler.
D:\a\mroonga\mroonga\mariadb\extra\wolfssl\wolfssl\wolfssl/wolfcrypt/error-crypt.h(321,56): error C2429: language feature 'terse static assert' requires compiler flag '/std:c++17'
|
wc_static_assert((int)WC_LAST_E <= (int)WC_SPAN2_LAST_E);
|
^
|
D:\a\mroonga\mroonga\mariadb\extra\wolfssl\wolfssl\wolfssl/wolfcrypt/error-crypt.h(322,51): error C2429: language feature 'terse static assert' requires compiler flag '/std:c++17'
|
wc_static_assert((int)MIN_CODE_E <= (int)WC_LAST_E);
|
^
|
D:\a\mroonga\mroonga\mariadb\extra\wolfssl\wolfssl\wolfssl/wolfcrypt/error-crypt.h(323,61): error C2429: language feature 'terse static assert' requires compiler flag '/std:c++17'
|
wc_static_assert((int)MIN_CODE_E <= (int)WC_SPAN2_MIN_CODE_E);
|
^
|
D:\a\mroonga\mroonga\mariadb\extra\wolfssl\wolfssl\wolfssl/error-ssl.h(244,55): error C2429: language feature 'terse static assert' requires compiler flag '/std:c++17'
|
wc_static_assert((int)WC_LAST_E <= (int)WOLFSSL_LAST_E);
|
^
|
Attachments
Issue Links
- relates to
-
MDEV-36056 mysys/mf_keycache.c reports the warning on MSVC compiler
-
- Closed
-