Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.5.28, 10.6.21, 10.11.11, 11.4.5
-
None
-
OS: Microsoft Windows Server 2019
The CXX compiler: MSVC 19.29.30158.0
Description
mysys/mf_keycache.c reports the following warning or error on MSVC compiler.
D:\a\mroonga\mroonga\mariadb\mysys\mf_keycache.c(3765,1): error C4090: 'initializing': different 'const' qualifiers
|
BLOCK_LINK *const *a= _a;
|
^
|
D:\a\mroonga\mroonga\mariadb\mysys\mf_keycache.c(3766,1): error C4090: 'initializing': different 'const' qualifiers
|
BLOCK_LINK *const *b= _b;
|
^
|
The complate log of this issue is https://github.com/mroonga/mroonga/actions/runs/13169554737/job/36757236705#step:18:6212
We can reproduce that we build mariadb from source using MSVC compiler.
C4090 is warning in default. However, C4090 is error by environment.
Attachments
Issue Links
- relates to
-
MDEV-36054 mysys_ssl/my_crypt.cc reports the errors on MSVC compiler
-
- Open
-