Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Platforms 2017-11-13
Description
When --dynamic-windows on, but not --ssl, mongodb builds with tomcrypt which produces this warning. None of the builders build with this configuration, but developers may.
Compiling build\myvar1\mongo\crypto\sha_block_tom.obj
|
sha_block_tom.cpp
|
D:\mongo\src\third_party\tomcrypt-1.18.0-rc2\src\headers\tomcrypt_cfg.h(33): error C2220: warning treated as error - no 'object' file generated
|
D:\mongo\src\third_party\tomcrypt-1.18.0-rc2\src\headers\tomcrypt_cfg.h(33): warning C4273: 'malloc': inconsistent dll linkage
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(97): note: see previous definition of 'malloc'
|
D:\mongo\src\third_party\tomcrypt-1.18.0-rc2\src\headers\tomcrypt_cfg.h(34): warning C4273: 'realloc': inconsistent dll linkage
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(116): note: see previous definition of 'realloc'
|
D:\mongo\src\third_party\tomcrypt-1.18.0-rc2\src\headers\tomcrypt_cfg.h(35): warning C4273: 'calloc': inconsistent dll linkage
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(62): note: see previous definition of 'calloc'
|
D:\mongo\src\third_party\tomcrypt-1.18.0-rc2\src\headers\tomcrypt_cfg.h(36): warning C4273: 'free': inconsistent dll linkage
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(85): note: see previous definition of 'free'
|
D:\mongo\src\third_party\tomcrypt-1.18.0-rc2\src\headers\tomcrypt_cfg.h(38): warning C4273: 'qsort': inconsistent dll linkage
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_search.h(53): note: see previous definition of 'qsort'
|
D:\mongo\src\third_party\tomcrypt-1.18.0-rc2\src\headers\tomcrypt_cfg.h(42): warning C4273: 'clock': inconsistent dll linkage
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\time.h(137): note: see previous definition of 'clock'
|
scons: *** [build\myvar1\mongo\crypto\sha_block_tom.obj] Error 2
|