[MDEV-19936] MyRocks: compile fails on Windows after recent merge from upstream Created: 2019-07-03  Updated: 2019-07-06  Resolved: 2019-07-06

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - RocksDB
Affects Version/s: 10.3
Fix Version/s: 10.2.26, 10.3.17

Type: Bug Priority: Major
Reporter: Sergei Petrunia Assignee: Sergei Petrunia
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows



 Description   

https://buildbot.askmonty.org/buildbot/builders/winx64-packages/builds/14127/steps/build/logs/stdio

The errors are:

  plain_table_builder.cc
  CMake does not need to re-run because D:/winx64-packages/build/client/CMakeFiles/generate.stamp is up-to-date.
D:\winx64-packages\build\src\storage\rocksdb\rocksdb\third-party\gtest-1.7.0\fused-src\gtest/gtest.h(2143): error C2220: warning treated as error - no 'object' file generated (compiling source file D:\winx64-packages\build\src\storage\rocksdb\rocksdb\table\mock_table.cc) [D:\winx64-packages\build\storage\rocksdb\rocksdblib.vcxproj]
D:\winx64-packages\build\src\storage\rocksdb\rocksdb\third-party\gtest-1.7.0\fused-src\gtest/gtest.h(2143): warning C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be REMOVED. You can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING to acknowledge that you have received this warning. (compiling source file D:\winx64-packages\build\src\storage\rocksdb\rocksdb\table\mock_table.cc) [D:\winx64-packages\build\storage\rocksdb\rocksdblib.vcxproj]
  userstat.vcxproj -> D:\winx64-packages\build\plugin\userstat\RelWithDebInfo\userstat.lib
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include\ios(304): note: see declaration of 'std::tr1' (compiling source file D:\winx64-packages\build\src\storage\rocksdb\rocksdb\table\mock_table.cc)
D:\winx64-packages\build\src\storage\rocksdb\rocksdb\third-party\gtest-1.7.0\fused-src\gtest/gtest.h(2144): warning C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be REMOVED. You can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING to acknowledge that you have received this warning. (compiling source file D:\winx64-packages\build\src\storage\rocksdb\rocksdb\table\mock_table.cc) [D:\winx64-packages\build\storage\rocksdb\rocksdblib.vcxproj]
  mysqlimport.c
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include\ios(304): note: see declaration of 'std::tr1' (compiling source file D:\winx64-packages\build\src\storage\rocksdb\rocksdb\table\mock_table.cc)
D:\winx64-packages\build\src\storage\rocksdb\rocksdb\third-party\gtest-1.7.0\fused-src\gtest/gtest.h(2145): warning C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be REMOVED. You can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING to acknowledge that you have received this warning. (compiling source file D:\winx64-packages\build\src\storage\rocksdb\rocksdb\table\mock_table.cc) [D:\winx64-packages\build\storage\rocksdb\rocksdblib.vcxproj]
...

and so forth



 Comments   
Comment by Sergei Petrunia [ 2019-07-03 ]

The question is, is mock_table.cc actually needed? It looks like it is only used in tests...

Generated at Thu Feb 08 08:55:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.