]> granicus.if.org Git - clang/commitdiff
lib/Frontend/InitHeaderSearch.cpp: Add mingw-w64's include paths.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Feb 2011 08:51:47 +0000 (08:51 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Feb 2011 08:51:47 +0000 (08:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125743 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/InitHeaderSearch.cpp

index 5af8c741c84db0469e88af69a33a73d9f1747273..4855b62b747d340bbf9c6cced5dda8be8adb16cd 100644 (file)
@@ -566,6 +566,14 @@ AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple) {
     AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "3.4.4");
     break;
   case llvm::Triple::MinGW32:
+    // mingw-w64-20110207
+    AddPath("c:/MinGW/include/c++/4.5.3", System, true, false, false);
+    AddPath("c:/MinGW/include/c++/4.5.3/x86_64-w64-mingw32", System, true, false, false);
+    AddPath("c:/MinGW/include/c++/4.5.3/backward", System, true, false, false);
+    // mingw-w64-20101129
+    AddPath("c:/MinGW/include/c++/4.5.2", System, true, false, false);
+    AddPath("c:/MinGW/include/c++/4.5.2/x86_64-w64-mingw32", System, true, false, false);
+    AddPath("c:/MinGW/include/c++/4.5.2/backward", System, true, false, false);
     // Try gcc 4.5.0
     AddMinGWCPlusPlusIncludePaths("c:/MinGW/lib/gcc", "mingw32", "4.5.0");
     // Try gcc 4.4.0