[MDEV-23424] unireg.cc fails to compile Created: 2020-08-07  Updated: 2021-07-07  Resolved: 2021-07-07

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.5.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Daniel Black
Resolution: Not a Bug Votes: 0
Labels: not-10.4
Environment:

w32, linux subssystem



 Description   

i.e. https://buildbot.mariadb.org/#/builders/61/builds/472/steps/6/logs/stdio

C:\Buildbot\win32-1809\build\sql\unireg.cc(1253,15): error C2220: the following warning is treated as an error [C:\Buildbot\win32-1809\build\sql\sql.vcxproj]
C:\Buildbot\win32-1809\build\sql\unireg.cc(1253,15): error C2220:   if (reserve(store_size)) [C:\Buildbot\win32-1809\build\sql\sql.vcxproj]
C:\Buildbot\win32-1809\build\sql\unireg.cc(1253,15): error C2220:               ^ [C:\Buildbot\win32-1809\build\sql\sql.vcxproj]
C:\Buildbot\win32-1809\build\sql\unireg.cc(1253,15): warning C4244: 'argument': conversion from 'ulonglong' to 'size_t', possible loss of data [C:\Buildbot\win32-1809\build\sql\sql.vcxproj]
C:\Buildbot\win32-1809\build\sql\unireg.cc(1253,15): warning C4244:   if (reserve(store_size)) [C:\Buildbot\win32-1809\build\sql\sql.vcxproj]
C:\Buildbot\win32-1809\build\sql\unireg.cc(1253,15): warning C4244:               ^ [C:\Buildbot\win32-1809\build\sql\sql.vcxproj]


Generated at Thu Feb 08 09:22:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.