[cfe-commits] r65462 - /cfe/trunk/lib/Driver/InitHeaderSearch.cpp

Chris Lattner sabre at nondot.org
Wed Feb 25 10:06:38 PST 2009


Author: lattner
Date: Wed Feb 25 12:06:37 2009
New Revision: 65462

URL: http://llvm.org/viewvc/llvm-project?rev=65462&view=rev
Log:
add c++ search path for GCC 4.2, PR3668, patch by Pawel Worach!

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

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

==============================================================================
--- cfe/trunk/lib/Driver/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Driver/InitHeaderSearch.cpp Wed Feb 25 12:06:37 2009
@@ -171,9 +171,11 @@
     AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/backward",
             System, true, false, false);
 
-
     // DragonFly
     AddPath("/usr/include/c++/4.1", System, true, false, false);
+
+    // FreeBSD
+    AddPath("/usr/include/c++/4.2", System, true, false, false);
   }
 
   AddPath("/usr/local/include", System, false, false, false);





More information about the cfe-commits mailing list