DaanDeMeyer / reproc

A cross-platform (C99/C++11) process library
MIT License
552 stars 65 forks source link

build with mingw failed with error. #22

Closed liwangqian closed 4 years ago

liwangqian commented 5 years ago
(ROOT)\reproc\src\cpp\error.cpp:60:28: error: 'too_many_symbolic_link_levels' is not a member of 'std::errc'
       return error_code == std::errc::too_many_symbolic_link_levels;

the mingw version is:

Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\g++.exe
COLLECT_LTO_WRAPPER=C:/MinGW/bin/../libexec/gcc/mingw32/5.1.0/lto-wrapper.exe
Target: mingw32
Configured with: ../../../src/gcc-5.1.0/configure --build=mingw32 --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --disable-symvers --enable-cxx-flags='-fno-function-sections -fno-data-sections -DWINPTHREAD_STATIC' --prefix=/mingw32tdm --with-local-prefix=/mingw32tdm --with-pkgversion=tdm-1 --enable-sjlj-exceptions --with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: posix
gcc version 5.1.0 (tdm-1)
DaanDeMeyer commented 5 years ago

You should start by updating to the latest version of reproc. MinGW support was only added in the latest version. Are you using reproc directly or is reproc a dependency of another project you're using?

DaanDeMeyer commented 4 years ago

Closing due to inactivity, feel free to reopen if needed.