From: Benjamin Kosnik Date: Fri, 6 Apr 2001 08:00:55 +0000 (+0000) Subject: backward_warning.h: Temporarily disable until g++ testsuite changes go in. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f946b6e2f58ddefa47ad5702d7be56ccc3b595e;p=gcc.git backward_warning.h: Temporarily disable until g++ testsuite changes go in. 2001-04-06 Benjamin Kosnik * include/backward/backward_warning.h: Temporarily disable until g++ testsuite changes go in. * tests_flags.in (CROSS_LIB_PATH): Add. From-SVN: r41149 --- 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 + + * 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 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 file instead of file for "C++" includes" # warning "and use the file instead of 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