Unable to build under cygwin
ofaurax opened this issue · comments
Actually, the target jinja2cpplight_gtest won't build under cygwin.
[ 11%] Building CXX object CMakeFiles/jinja2cpplight_gtest.dir/thirdparty/gtest/gtest-all.cc.o
In file included from git/Jinja2CppLight/thirdparty/gtest/gtest-all.cc:39:0:
git/Jinja2CppLight/thirdparty/gtest/gtest/gtest.h: Dans la fonction « int testing::internal::posix::FileNo(FILE*) »:
git/Jinja2CppLight/thirdparty/gtest/gtest/gtest.h:2848:40: error: « fileno » n'a pas été déclaré dans cette portée
inline int FileNo(FILE* file) { return fileno(file); }
^~~~~~
git/Jinja2CppLight/thirdparty/gtest/gtest/gtest.h:2848:40: note: alternatives suggérées: « file »
inline int FileNo(FILE* file) { return fileno(file); }
^~~~~~
file
....