Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

build err on windows 10 #869

Open
zhenlonghe opened this issue Apr 4, 2019 · 1 comment
Open

build err on windows 10 #869

zhenlonghe opened this issue Apr 4, 2019 · 1 comment

Comments

@zhenlonghe
Copy link

c:\cquery\build>cmake --build .
Scanning dependencies of target reproc
[ 1%] Building C object third_party/reproc/CMakeFiles/reproc.dir/src/c/common.c.obj
[ 2%] Building C object third_party/reproc/CMakeFiles/reproc.dir/src/c/windows/handle.c.obj
[ 3%] Building C object third_party/reproc/CMakeFiles/reproc.dir/src/c/windows/pipe.c.obj
[ 4%] Building C object third_party/reproc/CMakeFiles/reproc.dir/src/c/windows/process.c.obj
[ 5%] Building C object third_party/reproc/CMakeFiles/reproc.dir/src/c/windows/reproc.c.obj
[ 6%] Building C object third_party/reproc/CMakeFiles/reproc.dir/src/c/windows/string_utils.c.obj
C:\cquery\third_party\reproc\src\c\windows\string_utils.c: In function 'string_to_wstring':
C:\cquery\third_party\reproc\src\c\windows\string_utils.c:75:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion]
wstring_length);
^~~~~~~~~~~~~~
[ 7%] Building CXX object third_party/reproc/CMakeFiles/reproc.dir/src/cpp/reproc.cpp.obj
[ 8%] Building CXX object third_party/reproc/CMakeFiles/reproc.dir/src/cpp/error.cpp.obj
C:\cquery\third_party\reproc\src\cpp\error.cpp: In member function 'virtual bool reproc::error_category_impl::equivalent(const std::error_code&, int) const':
C:\cquery\third_party\reproc\src\cpp\error.cpp:60:39: error: 'too_many_symbolic_link_levels' is not a member of 'std::errc'
return error_code == std::errc::too_many_symbolic_link_levels;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
third_party\reproc\CMakeFiles\reproc.dir\build.make:160: recipe for target 'third_party/reproc/CMakeFiles/reproc.dir/src/cpp/error.cpp.obj' failed
mingw32-make.exe[2]: *** [third_party/reproc/CMakeFiles/reproc.dir/src/cpp/error.cpp.obj] Error 1
CMakeFiles\Makefile2:158: recipe for target 'third_party/reproc/CMakeFiles/reproc.dir/all' failed
mingw32-make.exe[1]: *** [third_party/reproc/CMakeFiles/reproc.dir/all] Error 2
Makefile:128: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2

@LiLeoH
Copy link

LiLeoH commented Apr 8, 2019

errors in third_party, did you update submodule?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants