Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gcc/gcc/config patch from <sdegler%degler.net@localhost> to a...



details:   https://anonhg.NetBSD.org/src/rev/1969173ae591
branches:  trunk
changeset: 550804:1969173ae591
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Aug 22 02:41:15 2003 +0000

description:
patch from <sdegler%degler.net@localhost> to add /usr/include/g++/backward to the
default C++ include path so that one can find old headers without any
special help.  (using them still generates warnings though.)

diffstat:

 gnu/dist/gcc/gcc/config/netbsd.h |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r f39e3ab1bb0b -r 1969173ae591 gnu/dist/gcc/gcc/config/netbsd.h
--- a/gnu/dist/gcc/gcc/config/netbsd.h  Fri Aug 22 02:39:56 2003 +0000
+++ b/gnu/dist/gcc/gcc/config/netbsd.h  Fri Aug 22 02:41:15 2003 +0000
@@ -53,15 +53,19 @@
 #undef GPLUSPLUS_INCLUDE_DIR
 #define GPLUSPLUS_INCLUDE_DIR "/usr/include/g++"
 
+#undef GPLUSPLUS_BACKWARD_INCLUDE_DIR
+#define GPLUSPLUS_BACKWARD_INCLUDE_DIR "/usr/include/g++/backward"
+
 #undef GCC_INCLUDE_DIR
 #define GCC_INCLUDE_DIR "/usr/include"
 
 #undef INCLUDE_DEFAULTS
-#define INCLUDE_DEFAULTS                       \
-  {                                            \
-    { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 },    \
-    { GCC_INCLUDE_DIR, "GCC", 0, 0 },          \
-    { 0, 0, 0, 0 }                             \
+#define INCLUDE_DEFAULTS                               \
+  {                                                    \
+    { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 },            \
+    { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1 },   \
+    { GCC_INCLUDE_DIR, "GCC", 0, 0 },                  \
+    { 0, 0, 0, 0 }                                     \
   }
 
 /* Under NetBSD, the normal location of the compiler back ends is the



Home | Main Index | Thread Index | Old Index