<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css"><!--P {margin-top:0;margin-bottom:0;}--></style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
I was wondering if there is any known differences on the way the header path search is performed between Windows and Unix like systems? Especially regarding angled #include <> resolution.<br>
Or maybe the difference can be with virtual file mapping between the two platforms.<br>
<br>
I'm working on the C++11 migrator where I made a class to modify #include directives but I have a hard time getting the unit tests to work on the Windows build bots.<br>
<br>
The IncludeDirectivesTest.cpp file available here: <a href="http://llvm-reviews.chandlerc.com/D1438#ca09f9a2">
http://llvm-reviews.chandlerc.com/D1438#ca09f9a2</a><br>
The buildbots errors are about the includes not being found, see :<br>
- http://bb.pgr.jp/builders/ninja-clang-i686-msc17-R/builds/4176<br>
- http://bb.pgr.jp/builders/cmake-clang-i686-mingw32/builds/3837<br>
<br>
<br>
The test setups some virtual files (headers) using FileManager::getVirtualFile() and SourceManager::overrideFileContents().<br>
The virtual files are mapped in "$(pwd)/virtual/HEADER" and $(pwd) is added to the header search path with the option "-I".<br>
<br>
It looks like to me the test has no dependencies on the file system specifics but it breaks only on the  Windows build bots.<br>
<br>
</div>
</body>
</html>