[cfe-commits] r78368 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Chris Lattner sabre at nondot.org
Thu Aug 6 22:28:24 PDT 2009


Author: lattner
Date: Fri Aug  7 00:28:24 2009
New Revision: 78368

URL: http://llvm.org/viewvc/llvm-project?rev=78368&view=rev
Log:
add support for opensuse 11.1/11.2 search paths, patch by Stefan Reinauer
and Carl-Daniel Hailfinger!

Modified:
    cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp?rev=78368&r1=78367&r2=78368&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Fri Aug  7 00:28:24 2009
@@ -162,6 +162,22 @@
         false);
     AddPath("/usr/include/c++/4.3.2/backward", System, true, false, false);
 
+    // openSUSE 11.1
+    AddPath("/usr/include/c++/4.3", System, true, false, false);
+    AddPath("/usr/include/c++/4.3/i586-suse-linux", System, true, false,
+        false);
+    AddPath("/usr/include/c++/4.3/x86_64-suse-linux", System, true, false,
+        false);
+    AddPath("/usr/include/c++/4.3/backward", System, true, false, false);
+
+    // openSUSE 11.2
+    AddPath("/usr/include/c++/4.4", System, true, false, false);
+    AddPath("/usr/include/c++/4.4/i586-suse-linux", System, true, false,
+        false);
+    AddPath("/usr/include/c++/4.4/x86_64-suse-linux", System, true, false,
+        false);
+    AddPath("/usr/include/c++/4.4/backward", System, true, false, false);
+
     // Arch Linux 2008-06-24
     AddPath("/usr/include/c++/4.3.1", System, true, false, false);
     AddPath("/usr/include/c++/4.3.1/i686-pc-linux-gnu", System, true, false,





More information about the cfe-commits mailing list