Boost logo

Boost :

Subject: [boost] [filesystem] path.cpp fails to compile under clang/Cygwin
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-05 11:31:18


Fails like this:

clang-linux.compile.c++.without-pth
..\..\..\bin.v2\libs\filesystem\build\clang-linux-3.4.2\release\link-static\path.obj
..\..\..\libs\filesystem\src\path.cpp:36:11: fatal error:
'windows_file_codecvt.hpp' file not found
# include "windows_file_codecvt.hpp"
          ^
1 error generated.

  "clang++" -c -x
c++ -Wno-variadic-macros -Wno-c99-extensions -O3 -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1
 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"..\..\..\include"
 -o
"..\..\..\bin.v2\libs\filesystem\build\clang-linux-3.4.2\release\link-static\path.obj"
"..\..\..\libs\filesystem\src\path.cpp"

Looks like a clang bug; the file is certainly there, in the same directory
as path.cpp.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk