summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 08:00:55 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 08:00:55 +0000
commit66c7b22b238e0e95c575d32f74b9b765a9704ebd (patch)
tree9865d74799e644330b8ff0889ed3a24f7861e2b0 /libstdc++-v3
parent7eda354a6f764900c1db7d8a0d30fe4c084ba074 (diff)
downloadgcc-66c7b22b238e0e95c575d32f74b9b765a9704ebd.tar.gz
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
* include/backward/backward_warning.h: Temporarily disable until g++ testsuite changes go in. * tests_flags.in (CROSS_LIB_PATH): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41149 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/backward/backward_warning.h3
-rw-r--r--libstdc++-v3/tests_flags.in5
3 files changed, 13 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 554fbeeeae4..b05ade64fff 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/backward/backward_warning.h: Temporarily disable until
+ g++ testsuite changes go in.
+ * tests_flags.in (CROSS_LIB_PATH): Add.
+
2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
Warn when using backward headers.
diff --git a/libstdc++-v3/include/backward/backward_warning.h b/libstdc++-v3/include/backward/backward_warning.h
index 973dee00314..84a60f527d5 100644
--- a/libstdc++-v3/include/backward/backward_warning.h
+++ b/libstdc++-v3/include/backward/backward_warning.h
@@ -28,7 +28,8 @@
#ifndef _CPP_BACKWARD_BACKWARD_WARNING_H
#define _CPP_BACKWARD_BACKWARD_WARNING_H 1
-#ifdef __DEPRECATED
+//#ifdef __DEPRECATED
+#if 0
# warning "This file includes at least one deprecated or antiquated header."
# warning "Please use the <X> file instead of <X.h> file for "C++" includes"
# warning "and use the <cX> file instead of <X.h> file for "C" includes."
diff --git a/libstdc++-v3/tests_flags.in b/libstdc++-v3/tests_flags.in
index 616a748d1aa..415164e6db3 100644
--- a/libstdc++-v3/tests_flags.in
+++ b/libstdc++-v3/tests_flags.in
@@ -132,11 +132,13 @@ case ${query} in
--built-library)
LIB_PATH=${BUILD_DIR}/src
GCC_LIB_PATH=${BUILD_DIR}/../../gcc
+ CROSS_LIB_PATH=${BUILD_DIR}/../newlib
CXX="${BUILD_DIR}/../../gcc/g++ -B${BUILD_DIR}/../../gcc/"
;;
--installed-library)
LIB_PATH=${PREFIX_DIR}/lib
GCC_LIB_PATH=
+ CROSS_LIB_PATH=
CXX=${PREFIX_DIR}/bin/g++
;;
esac
@@ -149,6 +151,9 @@ CXXFLAGS="-ggdb3 -DDEBUG_ASSERT @SECTION_FLAGS@ @SECTION_LDFLAGS@"
case ${query} in
--built-library)
LIBS="${LIB_PATH}/libstdc++.la -no-install -rpath ${GCC_LIB_PATH}"
+ if test x@xcompiling@ = x1; then
+ LIBS="${LIBS} -L${CROSS_LIB_PATH}"
+ fi
case @target_os@ in
*cygwin*)
LIBS="${LIBS} -nodefaultlibs -lgcc -lcygwin -luser32