Kenneth Boyd
2009-Feb-07 23:38 UTC
[LLVMdev] 2.5 prerelease: configure script doesn't have an option to disable GoogleTest
I haven't scheduled time to investigate this yet. My guess is that GoogleTest config is getting confused on Microsoft vs POSIX mkdir when going through autoconf: llvm[3]: Compiling gtest-filepath.cc for Release-Asserts build g:\mingw32\bin\../lib/gcc/mingw32/4.2.1-dw2/../../../../include/io.h: In member function 'bool testing::internal::FilePath::CreateFolder() const': g:\mingw32\bin\../lib/gcc/mingw32/4.2.1-dw2/../../../../include/io.h:176: error: too many arguments to function 'int mkdir(const char*)' g:/Testing/llvm-2.5/utils/unittest/googletest/gtest-filepath.cc:277: error: at this point in file make[3]: *** [/Testing/llvm-2.5.optimized-noassert/utils/unittest/googletest/Release-Asserts/gtest-filepath.o] Error 1 This error shows on all four configure lines I use. Kenneth