mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
backward_warning.h: Temporarily disable until g++ testsuite changes go in.
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. From-SVN: r41149
This commit is contained in:
parent
f9200da26d
commit
8f946b6e2f
@ -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.
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user