We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my compiled code is: cmake -G Ninja -B cout cmake --build cout,it showing mistake as follows, [26/747] Building CXX object CMakeFiles\speedb.dir\db\c.cc.obj FAILED: CMakeFiles/speedb.dir/db/c.cc.obj "D:\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe" /nologo /TP -DNOMINMAX -DOS_WIN -DROCKSDB_NO_DYNAMIC_EXTENSION -DWIN32 -DWIN64 -D_MBCS -IE:\Desktop\speedb -IE:\Desktop\speedb\include -external:IE:\Desktop\speedb\third-party\gtest-1.8.1\fused-src -external:W0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Zi /nologo /EHsc /GS /Gd /GR /GF /fp:precise /Zc:wchar_t /Zc:forScope /errorReport:queue /FC /d2Zi+ /W4 /wd4127 /wd4800 /wd4996 /wd4351 /wd4100 /wd4204 /wd4324 /arch:AVX2 /WX /MD /O2 /Ob2 /DNDEBUG /GR- /Oxt /Zp8 /Gm- /Gy /MD -std:c++17 /Fd./speedb.pdb /showIncludes /FoCMakeFiles\speedb.dir\db\c.cc.obj /FdCMakeFiles\speedb.dir\speedb.pdb /FS -c E:\Desktop\speedb\db\c.cc cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) E:\Desktop\speedb\db\c.cc(4045): error C2220: 以下警告被视为错误 E:\Desktop\speedb\db\c.cc(4045): warning C4267: “return”: 从“size_t”转换到“unsigned char”,可能丢失数据 [27/747] Building CXX object CMakeFiles\speedb.dir\db\arena_wrapped_db_iter.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [28/747] Building CXX object CMakeFiles\speedb.dir\db\blob\blob_log_writer.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [29/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [30/747] Building CXX object CMakeFiles\speedb.dir\db\builder.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [31/747] Building CXX object CMakeFiles\speedb.dir\db\column_family.cc.obj FAILED: CMakeFiles/speedb.dir/db/column_family.cc.obj "D:\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe" /nologo /TP -DNOMINMAX -DOS_WIN -DROCKSDB_NO_DYNAMIC_EXTENSION -DWIN32 -DWIN64 -D_MBCS -IE:\Desktop\speedb -IE:\Desktop\speedb\include -external:IE:\Desktop\speedb\third-party\gtest-1.8.1\fused-src -external:W0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Zi /nologo /EHsc /GS /Gd /GR /GF /fp:precise /Zc:wchar_t /Zc:forScope /errorReport:queue /FC /d2Zi+ /W4 /wd4127 /wd4800 /wd4996 /wd4351 /wd4100 /wd4204 /wd4324 /arch:AVX2 /WX /MD /O2 /Ob2 /DNDEBUG /GR- /Oxt /Zp8 /Gm- /Gy /MD -std:c++17 /Fd./speedb.pdb /showIncludes /FoCMakeFiles\speedb.dir\db\column_family.cc.obj /FdCMakeFiles\speedb.dir\speedb.pdb /FS -c E:\Desktop\speedb\db\column_family.cc cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) E:\Desktop\speedb\db\column_family.cc(1004): error C2220: 以下警告被视为错误 E:\Desktop\speedb\db\column_family.cc(1004): warning C4244: “初始化”: 从“double”转换到“uint64_t”,可能丢失数据 [32/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_iterator.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [33/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker_fifo.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [34/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [35/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker_level.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [36/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_state.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [37/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker_universal.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [38/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_job.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) [39/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_service_job.cc.obj cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”) cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”) cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”) ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
my compiled code is:
cmake -G Ninja -B cout
cmake --build cout,it showing mistake as follows,
[26/747] Building CXX object CMakeFiles\speedb.dir\db\c.cc.obj
FAILED: CMakeFiles/speedb.dir/db/c.cc.obj
"D:\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe" /nologo /TP -DNOMINMAX -DOS_WIN -DROCKSDB_NO_DYNAMIC_EXTENSION -DWIN32 -DWIN64 -D_MBCS -IE:\Desktop\speedb -IE:\Desktop\speedb\include -external:IE:\Desktop\speedb\third-party\gtest-1.8.1\fused-src -external:W0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Zi /nologo /EHsc /GS /Gd /GR /GF /fp:precise /Zc:wchar_t /Zc:forScope /errorReport:queue /FC /d2Zi+ /W4 /wd4127 /wd4800 /wd4996 /wd4351 /wd4100 /wd4204 /wd4324 /arch:AVX2 /WX /MD /O2 /Ob2 /DNDEBUG /GR- /Oxt /Zp8 /Gm- /Gy /MD -std:c++17 /Fd./speedb.pdb /showIncludes /FoCMakeFiles\speedb.dir\db\c.cc.obj /FdCMakeFiles\speedb.dir\speedb.pdb /FS -c E:\Desktop\speedb\db\c.cc
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
E:\Desktop\speedb\db\c.cc(4045): error C2220: 以下警告被视为错误
E:\Desktop\speedb\db\c.cc(4045): warning C4267: “return”: 从“size_t”转换到“unsigned char”,可能丢失数据
[27/747] Building CXX object CMakeFiles\speedb.dir\db\arena_wrapped_db_iter.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[28/747] Building CXX object CMakeFiles\speedb.dir\db\blob\blob_log_writer.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[29/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[30/747] Building CXX object CMakeFiles\speedb.dir\db\builder.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[31/747] Building CXX object CMakeFiles\speedb.dir\db\column_family.cc.obj
FAILED: CMakeFiles/speedb.dir/db/column_family.cc.obj
"D:\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe" /nologo /TP -DNOMINMAX -DOS_WIN -DROCKSDB_NO_DYNAMIC_EXTENSION -DWIN32 -DWIN64 -D_MBCS -IE:\Desktop\speedb -IE:\Desktop\speedb\include -external:IE:\Desktop\speedb\third-party\gtest-1.8.1\fused-src -external:W0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Zi /nologo /EHsc /GS /Gd /GR /GF /fp:precise /Zc:wchar_t /Zc:forScope /errorReport:queue /FC /d2Zi+ /W4 /wd4127 /wd4800 /wd4996 /wd4351 /wd4100 /wd4204 /wd4324 /arch:AVX2 /WX /MD /O2 /Ob2 /DNDEBUG /GR- /Oxt /Zp8 /Gm- /Gy /MD -std:c++17 /Fd./speedb.pdb /showIncludes /FoCMakeFiles\speedb.dir\db\column_family.cc.obj /FdCMakeFiles\speedb.dir\speedb.pdb /FS -c E:\Desktop\speedb\db\column_family.cc
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
E:\Desktop\speedb\db\column_family.cc(1004): error C2220: 以下警告被视为错误
E:\Desktop\speedb\db\column_family.cc(1004): warning C4244: “初始化”: 从“double”转换到“uint64_t”,可能丢失数据
[32/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_iterator.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[33/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker_fifo.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[34/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[35/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker_level.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[36/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_state.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[37/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_picker_universal.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[38/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_job.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
[39/747] Building CXX object CMakeFiles\speedb.dir\db\compaction\compaction_service_job.cc.obj
cl: 命令行 warning D9025 :正在重写“/W3”(用“/W4”)
cl: 命令行 warning D9025 :正在重写“/GR”(用“/GR-”)
cl: 命令行 warning D9025 :正在重写“/Fd./speedb.pdb”(用“/FdCMakeFiles\speedb.dir\speedb.pdb”)
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: