Move from CPP to CXX.
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> Move from CPP to CXX. * include/bits/c++config: Move to GLIBCXX from GLIBCPP. * testsuite/Makefile.am: Same. * testsuite/Makefile.in: Regenerate. * po/Makefile.am: Same. * po/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * libmath/Makefile.am: Same. * libmath/Makefile.in: Regenerate. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * acconfig.h: Same. * configure.host: Same. * configure.in: Same. * configure: Regenerate. * acinclude.m4: Same. * aclocal.m4: Same. * src: Change all files in this directory. * testsuite: Same. * include: Same, standardize include guards. * config: Same. * libsupc++: Same. From-SVN: r68958
This commit is contained in:
parent
34cd5ae762
commit
3d7c150e3f
|
@ -1,3 +1,31 @@
|
|||
2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
Move from CPP to CXX.
|
||||
* include/bits/c++config: Move to GLIBCXX from GLIBCPP.
|
||||
* testsuite/Makefile.am: Same.
|
||||
* testsuite/Makefile.in: Regenerate.
|
||||
* po/Makefile.am: Same.
|
||||
* po/Makefile.in: Regenerate.
|
||||
* libsupc++/Makefile.am: Same.
|
||||
* libsupc++/Makefile.in: Regenerate.
|
||||
* libmath/Makefile.am: Same.
|
||||
* libmath/Makefile.in: Regenerate.
|
||||
* include/Makefile.am: Same.
|
||||
* include/Makefile.in: Regenerate.
|
||||
* src/Makefile.am: Same.
|
||||
* src/Makefile.in: Regenerate.
|
||||
* acconfig.h: Same.
|
||||
* configure.host: Same.
|
||||
* configure.in: Same.
|
||||
* configure: Regenerate.
|
||||
* acinclude.m4: Same.
|
||||
* aclocal.m4: Same.
|
||||
* src: Change all files in this directory.
|
||||
* testsuite: Same.
|
||||
* include: Same, standardize include guards.
|
||||
* config: Same.
|
||||
* libsupc++: Same.
|
||||
|
||||
2003-07-04 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* testsuite/22_locale/collate/compare/wchar_t/2.cc
|
||||
|
|
|
@ -96,8 +96,8 @@ FPOS_H = @FPOS_H@
|
|||
FPOS_INC_SRCDIR = @FPOS_INC_SRCDIR@
|
||||
GCJ = @GCJ@
|
||||
GCJFLAGS = @GCJFLAGS@
|
||||
GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
|
||||
GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
|
||||
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
||||
GLIBCXX_IS_CROSS_COMPILING = @GLIBCXX_IS_CROSS_COMPILING@
|
||||
LIBMATHOBJS = @LIBMATHOBJS@
|
||||
LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
|
||||
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
||||
|
@ -127,18 +127,18 @@ baseline_dir = @baseline_dir@
|
|||
check_msgfmt = @check_msgfmt@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
glibcpp_CXX = @glibcpp_CXX@
|
||||
glibcpp_MOFILES = @glibcpp_MOFILES@
|
||||
glibcpp_PCHFLAGS = @glibcpp_PCHFLAGS@
|
||||
glibcpp_POFILES = @glibcpp_POFILES@
|
||||
glibcpp_basedir = @glibcpp_basedir@
|
||||
glibcpp_builddir = @glibcpp_builddir@
|
||||
glibcpp_localedir = @glibcpp_localedir@
|
||||
glibcpp_prefixdir = @glibcpp_prefixdir@
|
||||
glibcpp_srcdir = @glibcpp_srcdir@
|
||||
glibcpp_thread_h = @glibcpp_thread_h@
|
||||
glibcpp_toolexecdir = @glibcpp_toolexecdir@
|
||||
glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
|
||||
glibcxx_CXX = @glibcxx_CXX@
|
||||
glibcxx_MOFILES = @glibcxx_MOFILES@
|
||||
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
|
||||
glibcxx_POFILES = @glibcxx_POFILES@
|
||||
glibcxx_basedir = @glibcxx_basedir@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
ifGNUmake = @ifGNUmake@
|
||||
libtool_VERSION = @libtool_VERSION@
|
||||
|
@ -278,7 +278,7 @@ maintainer-clean-hdr:
|
|||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
|
@ -298,7 +298,7 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
|
|
|
@ -11,50 +11,50 @@
|
|||
#undef HAVE_STPCPY
|
||||
|
||||
// Define if GCC supports weak symbols.
|
||||
#undef _GLIBCPP_SUPPORTS_WEAK
|
||||
#undef _GLIBCXX_SUPPORTS_WEAK
|
||||
|
||||
// Include I/O support for 'long long' and 'unsigned long long'.
|
||||
#undef _GLIBCPP_USE_LONG_LONG
|
||||
#undef _GLIBCXX_USE_LONG_LONG
|
||||
|
||||
// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
|
||||
#undef _GLIBCPP_USE_C99
|
||||
#undef _GLIBCXX_USE_C99
|
||||
|
||||
// Include support for 'long double'.
|
||||
#undef _GLIBCPP_USE_LONG_DOUBLE
|
||||
#undef _GLIBCXX_USE_LONG_DOUBLE
|
||||
|
||||
// Include support for shadow headers, ie --enable-cshadow-headers.
|
||||
#undef _GLIBCPP_USE_SHADOW_HEADERS
|
||||
#undef _GLIBCXX_USE_SHADOW_HEADERS
|
||||
|
||||
// Define if code specialized for wchar_t should be used.
|
||||
#undef _GLIBCPP_USE_WCHAR_T
|
||||
#undef _GLIBCXX_USE_WCHAR_T
|
||||
|
||||
// Define if using setrlimit to limit memory usage during 'make check'.
|
||||
#undef _GLIBCPP_MEM_LIMITS
|
||||
#undef _GLIBCXX_MEM_LIMITS
|
||||
|
||||
// Define to use concept checking code from the boost libraries.
|
||||
#undef _GLIBCPP_CONCEPT_CHECKS
|
||||
#undef _GLIBCXX_CONCEPT_CHECKS
|
||||
|
||||
// Define if the atan2f function exists.
|
||||
#undef _GLIBCPP_HAVE_ATAN2F
|
||||
#undef _GLIBCXX_HAVE_ATAN2F
|
||||
|
||||
// Define if the atan2l function exists.
|
||||
#undef _GLIBCPP_HAVE_ATAN2L
|
||||
#undef _GLIBCXX_HAVE_ATAN2L
|
||||
|
||||
// Define if the copysignf function exists.
|
||||
#undef _GLIBCPP_HAVE_COPYSIGNF
|
||||
#undef _GLIBCXX_HAVE_COPYSIGNF
|
||||
|
||||
// Define to use symbol versioning in the shared library.
|
||||
#undef _GLIBCPP_SYMVER
|
||||
#undef _GLIBCXX_SYMVER
|
||||
|
||||
// Define symbol versioning in assember directives. If symbol
|
||||
// versioning is beigng used, and the assembler supports this kind of
|
||||
// thing, then use it.
|
||||
// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4.
|
||||
#if _GLIBCPP_SYMVER
|
||||
#define _GLIBCPP_ASM_SYMVER(cur, old, version) \
|
||||
asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version);
|
||||
// NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
|
||||
#if _GLIBCXX_SYMVER
|
||||
#define _GLIBCXX_ASM_SYMVER(cur, old, version) \
|
||||
asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
|
||||
#else
|
||||
#define _GLIBCPP_ASM_SYMVER(cur, old, version)
|
||||
#define _GLIBCXX_ASM_SYMVER(cur, old, version)
|
||||
#endif
|
||||
|
||||
// Define if gthr-default.h exists (meaning that threading support is enabled).
|
||||
|
@ -154,7 +154,7 @@
|
|||
#undef HAVE_MODF
|
||||
|
||||
// Define if NLS translations are to be used.
|
||||
#undef _GLIBCPP_USE_NLS
|
||||
#undef _GLIBCXX_USE_NLS
|
||||
|
||||
// @BOTTOM@
|
||||
//
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -4,35 +4,35 @@
|
|||
#undef HAVE_MMAP
|
||||
|
||||
// Define if GCC supports weak symbols.
|
||||
#undef _GLIBCPP_SUPPORTS_WEAK
|
||||
#undef _GLIBCXX_SUPPORTS_WEAK
|
||||
|
||||
// Include I/O support for 'long long' and 'unsigned long long'.
|
||||
#undef _GLIBCPP_USE_LONG_LONG
|
||||
#undef _GLIBCXX_USE_LONG_LONG
|
||||
|
||||
// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
|
||||
#undef _GLIBCPP_USE_C99
|
||||
#undef _GLIBCXX_USE_C99
|
||||
|
||||
// Define if code specialized for wchar_t should be used.
|
||||
#undef _GLIBCPP_USE_WCHAR_T
|
||||
#undef _GLIBCXX_USE_WCHAR_T
|
||||
|
||||
// Define if using setrlimit to limit memory usage during 'make check'.
|
||||
#undef _GLIBCPP_MEM_LIMITS
|
||||
#undef _GLIBCXX_MEM_LIMITS
|
||||
|
||||
// Define to use concept checking code from the boost libraries.
|
||||
#undef _GLIBCPP_CONCEPT_CHECKS
|
||||
#undef _GLIBCXX_CONCEPT_CHECKS
|
||||
|
||||
// Define to use symbol versioning in the shared library.
|
||||
#undef _GLIBCPP_SYMVER
|
||||
#undef _GLIBCXX_SYMVER
|
||||
|
||||
// Define symbol versioning in assember directives. If symbol
|
||||
// versioning is beigng used, and the assembler supports this kind of
|
||||
// thing, then use it.
|
||||
// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4.
|
||||
#if _GLIBCPP_SYMVER
|
||||
#define _GLIBCPP_ASM_SYMVER(cur, old, version) \
|
||||
asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version);
|
||||
// NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
|
||||
#if _GLIBCXX_SYMVER
|
||||
#define _GLIBCXX_ASM_SYMVER(cur, old, version) \
|
||||
asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
|
||||
#else
|
||||
#define _GLIBCPP_ASM_SYMVER(cur, old, version)
|
||||
#define _GLIBCXX_ASM_SYMVER(cur, old, version)
|
||||
#endif
|
||||
|
||||
// Define if gthr-default.h exists (meaning that threading support is enabled).
|
||||
|
@ -126,7 +126,7 @@
|
|||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
// Define if NLS translations are to be used.
|
||||
#undef _GLIBCPP_USE_NLS
|
||||
#undef _GLIBCXX_USE_NLS
|
||||
|
||||
/* Define if you have the __signbit function. */
|
||||
#undef HAVE___SIGNBIT
|
||||
|
@ -795,7 +795,7 @@
|
|||
#undef VERSION
|
||||
|
||||
/* Define if the compiler is configured for setjmp/longjmp exceptions. */
|
||||
#undef _GLIBCPP_SJLJ_EXCEPTIONS
|
||||
#undef _GLIBCXX_SJLJ_EXCEPTIONS
|
||||
|
||||
/* Define if sigsetjmp is available. */
|
||||
#undef HAVE_SIGSETJMP
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
/* @@@ With gas we can play nice .subsection games to get the
|
||||
non-predicted branch pointing forward. But Digital assemblers
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
// This entity must not cross a page boundary.
|
||||
typedef int _Atomic_word __attribute__ ((__aligned__ (4)));
|
||||
|
|
|
@ -27,12 +27,12 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
#include <bits/gthr.h>
|
||||
|
||||
#define _GLIBCPP_NEED_GENERIC_MUTEX
|
||||
#define _GLIBCXX_NEED_GENERIC_MUTEX
|
||||
|
||||
typedef int _Atomic_word;
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
typedef int _Atomic_word;
|
||||
|
||||
|
@ -34,9 +34,9 @@ __Atomicity_lock<__inst>::_S_atomicity_lock __attribute__ ((aligned (16))) = 1;
|
|||
|
||||
/* Because of the lack of weak support when using the hpux
|
||||
som linker, we explicitly instantiate the atomicity lock
|
||||
in src/misc-inst.cc when _GLIBCPP_INST_ATOMICITY_LOCK
|
||||
in src/misc-inst.cc when _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK
|
||||
is defined. */
|
||||
#ifndef _GLIBCPP_INST_ATOMICITY_LOCK
|
||||
#ifndef _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK
|
||||
template volatile int __Atomicity_lock<0>::_S_atomicity_lock;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
typedef int _Atomic_word;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
typedef int _Atomic_word;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
#include <ia64intrin.h>
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
typedef int _Atomic_word;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
typedef int _Atomic_word;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
#ifdef __PPC405__
|
||||
#define _STWCX "sync \n\tstwcx. "
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
typedef int _Atomic_word;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _BITS_ATOMICITY_H
|
||||
#define _BITS_ATOMICITY_H 1
|
||||
#ifndef _GLIBCXX_ATOMICITY_H
|
||||
#define _GLIBCXX_ATOMICITY_H 1
|
||||
|
||||
#ifdef __arch64__
|
||||
|
||||
|
|
|
@ -36,26 +36,26 @@
|
|||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef _GLIBCPP_HAVE_SYS_IOCTL_H
|
||||
#ifdef _GLIBCXX_HAVE_SYS_IOCTL_H
|
||||
#define BSD_COMP /* Get FIONREAD on Solaris2. */
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
// Pick up FIONREAD on Solaris 2.5.
|
||||
#ifdef _GLIBCPP_HAVE_SYS_FILIO_H
|
||||
#ifdef _GLIBCXX_HAVE_SYS_FILIO_H
|
||||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#ifdef _GLIBCPP_HAVE_POLL
|
||||
#ifdef _GLIBCXX_HAVE_POLL
|
||||
#include <poll.h>
|
||||
#endif
|
||||
|
||||
#if defined(_GLIBCPP_HAVE_S_ISREG) || defined(_GLIBCPP_HAVE_S_IFREG)
|
||||
#if defined(_GLIBCXX_HAVE_S_ISREG) || defined(_GLIBCXX_HAVE_S_IFREG)
|
||||
# include <sys/stat.h>
|
||||
# ifdef _GLIBCPP_HAVE_S_ISREG
|
||||
# define _GLIBCPP_ISREG(x) S_ISREG(x)
|
||||
# ifdef _GLIBCXX_HAVE_S_ISREG
|
||||
# define _GLIBCXX_ISREG(x) S_ISREG(x)
|
||||
# else
|
||||
# define _GLIBCPP_ISREG(x) (((x) & S_IFMT) == S_IFREG)
|
||||
# define _GLIBCXX_ISREG(x) (((x) & S_IFMT) == S_IFREG)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
@ -249,7 +249,7 @@ namespace std
|
|||
return __num;
|
||||
#endif
|
||||
|
||||
#ifdef _GLIBCPP_HAVE_POLL
|
||||
#ifdef _GLIBCXX_HAVE_POLL
|
||||
// Cheap test.
|
||||
struct pollfd __pfd[1];
|
||||
__pfd[0].fd = this->fd();
|
||||
|
@ -258,11 +258,11 @@ namespace std
|
|||
return 0;
|
||||
#endif
|
||||
|
||||
#if defined(_GLIBCPP_HAVE_S_ISREG) || defined(_GLIBCPP_HAVE_S_IFREG)
|
||||
#if defined(_GLIBCXX_HAVE_S_ISREG) || defined(_GLIBCXX_HAVE_S_IFREG)
|
||||
// Regular files.
|
||||
struct stat __buffer;
|
||||
int __ret = fstat(this->fd(), &__buffer);
|
||||
if (!__ret && _GLIBCPP_ISREG(__buffer.st_mode))
|
||||
if (!__ret && _GLIBCXX_ISREG(__buffer.st_mode))
|
||||
return __buffer.st_size - lseek(this->fd(), 0, ios_base::cur);
|
||||
#endif
|
||||
return 0;
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
* You should not attempt to use it directly.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BASIC_FILE
|
||||
#define _CPP_BASIC_FILE 1
|
||||
#ifndef _BASIC_FILE_STDIO_H
|
||||
#define _BASIC_FILE_STDIO_H 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
// c_io_stdio.h - Defines for using "C" stdio.h
|
||||
|
||||
#ifndef _CPP_IO_STDIO_H
|
||||
#define _CPP_IO_STDIO_H 1
|
||||
#ifndef _C_IO_STDIO_H
|
||||
#define _C_IO_STDIO_H 1
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstddef>
|
||||
|
@ -41,7 +41,7 @@ namespace std
|
|||
// for fpos.h
|
||||
typedef long streamoff;
|
||||
typedef ptrdiff_t streamsize; // Signed integral type
|
||||
#if _GLIBCPP_USE_WCHAR_T
|
||||
#if _GLIBCXX_USE_WCHAR_T
|
||||
typedef ptrdiff_t wstreamsize;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
## USA.
|
||||
|
||||
GLIBCPP_3.4 {
|
||||
GLIBCXX_3.4 {
|
||||
|
||||
global:
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include <locale>
|
||||
|
||||
#ifdef _GLIBCPP_HAVE_IEEEFP_H
|
||||
#ifdef _GLIBCXX_HAVE_IEEEFP_H
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
|
@ -76,7 +76,7 @@ namespace std
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_LONG_LONG
|
||||
#ifdef _GLIBCXX_USE_LONG_LONG
|
||||
template<>
|
||||
void
|
||||
__convert_to_v(const char* __s, long long& __v, ios_base::iostate& __err,
|
||||
|
@ -124,18 +124,18 @@ namespace std
|
|||
setlocale(LC_ALL, "C");
|
||||
char* __sanity;
|
||||
errno = 0;
|
||||
#if defined(_GLIBCPP_USE_C99)
|
||||
#if defined(_GLIBCXX_USE_C99)
|
||||
float __f = strtof(__s, &__sanity);
|
||||
#else
|
||||
double __d = strtod(__s, &__sanity);
|
||||
float __f = static_cast<float>(__d);
|
||||
#ifdef _GLIBCPP_HAVE_FINITEF
|
||||
#ifdef _GLIBCXX_HAVE_FINITEF
|
||||
if (!finitef (__f))
|
||||
errno = ERANGE;
|
||||
#elif defined (_GLIBCPP_HAVE_FINITE)
|
||||
#elif defined (_GLIBCXX_HAVE_FINITE)
|
||||
if (!finite (static_cast<double> (__f)))
|
||||
errno = ERANGE;
|
||||
#elif defined (_GLIBCPP_HAVE_ISINF)
|
||||
#elif defined (_GLIBCXX_HAVE_ISINF)
|
||||
if (isinf (static_cast<double> (__f)))
|
||||
errno = ERANGE;
|
||||
#else
|
||||
|
@ -184,7 +184,7 @@ namespace std
|
|||
// Assumes __s formatted for "C" locale.
|
||||
char* __old = strdup(setlocale(LC_ALL, NULL));
|
||||
setlocale(LC_ALL, "C");
|
||||
#if defined(_GLIBCPP_USE_C99)
|
||||
#if defined(_GLIBCXX_USE_C99)
|
||||
char* __sanity;
|
||||
errno = 0;
|
||||
long double __ld = strtold(__s, &__sanity);
|
||||
|
@ -197,7 +197,7 @@ namespace std
|
|||
int __p = sscanf(__s, "%Lf", &__ld);
|
||||
if (errno == ERANGE)
|
||||
__p = 0;
|
||||
#ifdef _GLIBCPP_HAVE_FINITEL
|
||||
#ifdef _GLIBCXX_HAVE_FINITEL
|
||||
if ((__p == 1) && !finitel (__ld))
|
||||
__p = 0;
|
||||
#endif
|
||||
|
@ -234,7 +234,7 @@ namespace std
|
|||
|
||||
namespace __gnu_cxx
|
||||
{
|
||||
const char* category_names[6 + _GLIBCPP_NUM_CATEGORIES] =
|
||||
const char* category_names[6 + _GLIBCXX_NUM_CATEGORIES] =
|
||||
{
|
||||
"LC_CTYPE",
|
||||
"LC_NUMERIC",
|
||||
|
|
|
@ -33,14 +33,14 @@
|
|||
|
||||
// Written by Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
#ifndef _CPP_BITS_C_LOCALE_H
|
||||
#define _CPP_BITS_C_LOCALE_H 1
|
||||
#ifndef _C_LOCALE_H
|
||||
#define _C_LOCALE_H 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <clocale>
|
||||
|
||||
#define _GLIBCPP_NUM_CATEGORIES 0
|
||||
#define _GLIBCXX_NUM_CATEGORIES 0
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
@ -64,7 +64,7 @@ namespace std
|
|||
setlocale(LC_ALL, "C");
|
||||
|
||||
int __ret;
|
||||
#ifdef _GLIBCPP_USE_C99
|
||||
#ifdef _GLIBCXX_USE_C99
|
||||
if (__prec >= 0)
|
||||
__ret = snprintf(__out, __size, __fmt, __prec, __v);
|
||||
else
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
namespace std
|
||||
{
|
||||
// Specializations.
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
codecvt_base::result
|
||||
codecvt<wchar_t, char, mbstate_t>::
|
||||
do_out(state_type& __state, const intern_type* __from,
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace std
|
|||
size_t __n) const
|
||||
{ return strxfrm(__to, __from, __n); }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
int
|
||||
collate<wchar_t>::_M_compare(const wchar_t* __one,
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace std
|
|||
_S_create_c_locale(_M_c_locale_ctype, __s);
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
ctype<wchar_t>::__wmask_type
|
||||
ctype<wchar_t>::_M_convert_to_wmask(const mask __m) const
|
||||
{
|
||||
|
@ -195,5 +195,5 @@ namespace std
|
|||
}
|
||||
return __hi;
|
||||
}
|
||||
#endif // _GLIBCPP_USE_WCHAR_T
|
||||
#endif // _GLIBCXX_USE_WCHAR_T
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace std
|
|||
messages<char>::do_get(catalog, int, int, const string& __dfault) const
|
||||
{ return __dfault; }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
wstring
|
||||
messages<wchar_t>::do_get(catalog, int, int, const wstring& __dfault) const
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace std
|
|||
moneypunct<char, false>::~moneypunct()
|
||||
{ }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace std
|
|||
numpunct<char>::~numpunct()
|
||||
{ delete _M_data; }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
numpunct<wchar_t>::_M_initialize_numpunct(__c_locale)
|
||||
|
|
|
@ -113,7 +113,7 @@ namespace std
|
|||
_M_month_a12 = "Dec";
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
__timepunct<wchar_t>::
|
||||
|
|
|
@ -75,7 +75,7 @@ namespace std
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_LONG_LONG
|
||||
#ifdef _GLIBCXX_USE_LONG_LONG
|
||||
template<>
|
||||
void
|
||||
__convert_to_v(const char* __s, long long& __v, ios_base::iostate& __err,
|
||||
|
@ -191,7 +191,7 @@ namespace std
|
|||
|
||||
namespace __gnu_cxx
|
||||
{
|
||||
const char* category_names[6 + _GLIBCPP_NUM_CATEGORIES] =
|
||||
const char* category_names[6 + _GLIBCXX_NUM_CATEGORIES] =
|
||||
{
|
||||
"LC_CTYPE",
|
||||
"LC_NUMERIC",
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
// Written by Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
#ifndef _CPP_BITS_C_LOCALE_H
|
||||
#define _CPP_BITS_C_LOCALE_H 1
|
||||
#ifndef _C_LOCALE_H
|
||||
#define _C_LOCALE_H 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
|
@ -43,9 +43,9 @@
|
|||
#include <iconv.h> // For codecvt using iconv, iconv_t
|
||||
#include <libintl.h> // For messages
|
||||
|
||||
#define _GLIBCPP_C_LOCALE_GNU 1
|
||||
#define _GLIBCXX_C_LOCALE_GNU 1
|
||||
|
||||
#define _GLIBCPP_NUM_CATEGORIES 6
|
||||
#define _GLIBCXX_NUM_CATEGORIES 6
|
||||
|
||||
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
|
||||
namespace __gnu_cxx
|
||||
|
@ -80,7 +80,7 @@ namespace std
|
|||
#endif
|
||||
|
||||
int __ret;
|
||||
#ifdef _GLIBCPP_USE_C99
|
||||
#ifdef _GLIBCXX_USE_C99
|
||||
if (__prec >= 0)
|
||||
__ret = snprintf(__out, __size, __fmt, __prec, __v);
|
||||
else
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
namespace std
|
||||
{
|
||||
// Specializations.
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
codecvt_base::result
|
||||
codecvt<wchar_t, char, mbstate_t>::
|
||||
do_out(state_type& __state, const intern_type* __from,
|
||||
|
|
|
@ -54,7 +54,7 @@ namespace std
|
|||
size_t __n) const
|
||||
{ return __strxfrm_l(__to, __from, __n, _M_c_locale_collate); }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
int
|
||||
collate<wchar_t>::_M_compare(const wchar_t* __one,
|
||||
|
|
|
@ -51,7 +51,7 @@ namespace std
|
|||
_M_table = _M_c_locale_ctype->__ctype_b;
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
ctype<wchar_t>::__wmask_type
|
||||
ctype<wchar_t>::_M_convert_to_wmask(const mask __m) const
|
||||
{
|
||||
|
@ -229,5 +229,5 @@ namespace std
|
|||
#endif
|
||||
return __hi;
|
||||
}
|
||||
#endif // _GLIBCPP_USE_WCHAR_T
|
||||
#endif // _GLIBCXX_USE_WCHAR_T
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ namespace std
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
wstring
|
||||
messages<wchar_t>::do_get(catalog, int, int, const wstring& __dfault) const
|
||||
|
|
|
@ -313,7 +313,7 @@ namespace std
|
|||
moneypunct<char, false>::~moneypunct()
|
||||
{ }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale __cloc,
|
||||
|
|
|
@ -85,7 +85,7 @@ namespace std
|
|||
numpunct<char>::~numpunct()
|
||||
{ delete _M_data; }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
numpunct<wchar_t>::_M_initialize_numpunct(__c_locale __cloc)
|
||||
|
|
|
@ -183,7 +183,7 @@ namespace std
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
__timepunct<wchar_t>::
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace std
|
|||
_M_falsename = "false";
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
numpunct<wchar_t>::_M_initialize_numpunct(__c_locale)
|
||||
|
@ -91,7 +91,7 @@ namespace std
|
|||
_M_neg_format = money_base::_S_default_pattern;
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
void
|
||||
moneypunct<wchar_t>::_M_initialize_moneypunct(__c_locale)
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
// XXX
|
||||
// Define this here so codecvt.cc can have _S_max_size definition.
|
||||
#define _GLIBCPP_USE___ENC_TRAITS 1
|
||||
#define _GLIBCXX_USE___ENC_TRAITS 1
|
||||
|
||||
// Extension to use icov for dealing with character encodings,
|
||||
// including conversions and comparisons between various character
|
||||
|
@ -453,7 +453,7 @@
|
|||
const extern_type* __end, size_t __max) const
|
||||
{ return std::min(__max, static_cast<size_t>(__end - __from)); }
|
||||
|
||||
#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
|
||||
#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
|
||||
// 74. Garbled text for codecvt::do_max_length
|
||||
template<typename _InternT, typename _ExternT>
|
||||
int
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace std
|
|||
return string(catgets(__nlc, __setid, __msgid, __dfault.c_str()));
|
||||
}
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
template<>
|
||||
wstring
|
||||
messages<wchar_t>::do_get(catalog, int, int, const wstring& __dfault) const
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -28,17 +28,17 @@
|
|||
// the GNU General Public License.
|
||||
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
||||
#define _GLIBCPP_USE_C99_CHECK 1
|
||||
#define _GLIBCPP_USE_C99_DYNAMIC (!(__ISO_C_VISIBLE >= 1999))
|
||||
#define _GLIBCPP_USE_C99_LONG_LONG_CHECK 1
|
||||
#define _GLIBCPP_USE_C99_LONG_LONG_DYNAMIC (_GLIBCPP_USE_C99_DYNAMIC || !defined __LONG_LONG_SUPPORTED)
|
||||
#define _GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK 1
|
||||
#define _GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC defined _XOPEN_SOURCE
|
||||
#define _GLIBCXX_USE_C99_CHECK 1
|
||||
#define _GLIBCXX_USE_C99_DYNAMIC (!(__ISO_C_VISIBLE >= 1999))
|
||||
#define _GLIBCXX_USE_C99_LONG_LONG_CHECK 1
|
||||
#define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || !defined __LONG_LONG_SUPPORTED)
|
||||
#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_CHECK 1
|
||||
#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC defined _XOPEN_SOURCE
|
||||
|
||||
#endif
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
// the GNU General Public License.
|
||||
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -109,7 +109,7 @@ namespace std
|
|||
|
||||
/// 27.2, paragraph 10 about fpos/char_traits circularity
|
||||
typedef fpos<mbstate_t> streampos;
|
||||
# ifdef _GLIBCPP_USE_WCHAR_T
|
||||
# ifdef _GLIBCXX_USE_WCHAR_T
|
||||
/// 27.2, paragraph 10 about fpos/char_traits circularity
|
||||
typedef fpos<mbstate_t> wstreampos;
|
||||
# endif
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
// the GNU General Public License.
|
||||
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
// Information as gleaned from /usr/include/ctype.h
|
||||
|
||||
#if _GLIBCPP_C_LOCALE_GNU
|
||||
#if _GLIBCXX_C_LOCALE_GNU
|
||||
const ctype_base::mask*
|
||||
ctype<char>::classic_table() throw()
|
||||
{
|
||||
|
@ -59,7 +59,7 @@
|
|||
}
|
||||
#endif
|
||||
|
||||
#if _GLIBCPP_C_LOCALE_GNU
|
||||
#if _GLIBCXX_C_LOCALE_GNU
|
||||
ctype<char>::ctype(__c_locale __cloc, const mask* __table, bool __del,
|
||||
size_t __refs)
|
||||
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del)
|
||||
|
@ -91,7 +91,7 @@
|
|||
}
|
||||
#endif
|
||||
|
||||
#if _GLIBCPP_C_LOCALE_GNU
|
||||
#if _GLIBCXX_C_LOCALE_GNU
|
||||
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) :
|
||||
__ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del)
|
||||
{
|
||||
|
|
|
@ -135,7 +135,7 @@ namespace std
|
|||
|
||||
/// 27.2, paragraph 10 about fpos/char_traits circularity
|
||||
typedef fpos<mbstate_t> streampos;
|
||||
# ifdef _GLIBCPP_USE_WCHAR_T
|
||||
# ifdef _GLIBCXX_USE_WCHAR_T
|
||||
/// 27.2, paragraph 10 about fpos/char_traits circularity
|
||||
typedef fpos<mbstate_t> wstreampos;
|
||||
# endif
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
@ -58,7 +58,7 @@
|
|||
unconditionally, which makes intmax_t and uintmax_t long long
|
||||
types.
|
||||
|
||||
We also force _GLIBCPP_USE_LONG_LONG here so that we don't have
|
||||
We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
|
||||
to bastardize configure to deal with this sillyness. */
|
||||
namespace std
|
||||
{
|
||||
|
@ -75,12 +75,12 @@ namespace std
|
|||
#endif
|
||||
}
|
||||
|
||||
#define _GLIBCPP_USE_LONG_LONG 1
|
||||
#define _GLIBCXX_USE_LONG_LONG 1
|
||||
|
||||
// HPUX on IA64 requires vtable to be 64 bit aligned even at 32 bit
|
||||
// mode. We need to pad the vtable structure to achieve this.
|
||||
#if !defined(_LP64) && defined (__ia64__)
|
||||
#define _GLIBCPP_VTABLE_PADDING 8
|
||||
#define _GLIBCXX_VTABLE_PADDING 8
|
||||
typedef long int __padding_type;
|
||||
#endif
|
||||
|
||||
|
@ -93,12 +93,12 @@ typedef long int __padding_type;
|
|||
|
||||
/* We need explicit instantiation of the atomicity lock on HPPA if
|
||||
there is no weak support. */
|
||||
#if !defined(_GLIBCPP_SUPPORTS_WEAK) && defined (__hppa__)
|
||||
#define _GLIBCPP_INST_ATOMICITY_LOCK 1
|
||||
#if !defined(_GLIBCXX_SUPPORTS_WEAK) && defined (__hppa__)
|
||||
#define _GLIBCXX_INST_ATOMICITY_LOCK 1
|
||||
#endif
|
||||
|
||||
/* Don't use pragma weak in gthread headers. */
|
||||
#ifdef __hppa__
|
||||
#define _GLIBCPP_GTHREAD_USE_WEAK 0
|
||||
#define _GLIBCXX_GTHREAD_USE_WEAK 0
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
// the GNU General Public License.
|
||||
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
# define _GLIBCPP_OS_DEFINES
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
# define _GLIBCXX_OS_DEFINES
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
// the GNU General Public License.
|
||||
|
||||
|
||||
#ifndef _GLIBCPP_OS_DEFINES
|
||||
#define _GLIBCPP_OS_DEFINES 1
|
||||
#ifndef _GLIBCXX_OS_DEFINES
|
||||
#define _GLIBCXX_OS_DEFINES 1
|
||||
|
||||
// System-specific #define, typedefs, corrections, etc, go here. This
|
||||
// file will come before all others.
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -92,7 +92,7 @@ case "${host_cpu}" in
|
|||
try_cpu=sparc
|
||||
;;
|
||||
*)
|
||||
if test -d ${glibcpp_srcdir}/config/cpu/${host_cpu}; then
|
||||
if test -d ${glibcxx_srcdir}/config/cpu/${host_cpu}; then
|
||||
try_cpu=${host_cpu}
|
||||
else
|
||||
try_cpu=generic
|
||||
|
|
|
@ -16,7 +16,7 @@ AC_SUBST(PACKAGE)
|
|||
libtool_VERSION=6:0:0
|
||||
AC_SUBST(libtool_VERSION)
|
||||
|
||||
GLIBCPP_TOPREL_CONFIGURE
|
||||
GLIBCXX_TOPREL_CONFIGURE
|
||||
|
||||
# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
|
||||
#
|
||||
|
@ -34,8 +34,8 @@ GLIBCPP_TOPREL_CONFIGURE
|
|||
AC_CANONICAL_SYSTEM
|
||||
|
||||
# Runs configure.host, finds CC, CXX and assorted other critical bits.
|
||||
# Must run this before the GLIBCPP_ENABLE_* macros below.
|
||||
GLIBCPP_CONFIGURE(.)
|
||||
# Must run this before the GLIBCXX_ENABLE_* macros below.
|
||||
GLIBCXX_CONFIGURE(.)
|
||||
|
||||
AM_INIT_AUTOMAKE($PACKAGE, $gcc_version)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
@ -46,25 +46,25 @@ AC_SUBST(enable_shared)
|
|||
AC_SUBST(enable_static)
|
||||
|
||||
# Check for support bits and g++ features that don't require linking.
|
||||
GLIBCPP_CHECK_GNU_MAKE
|
||||
#GLIBCPP_CHECK_COMPILER_VERSION
|
||||
GLIBCPP_ENABLE_SJLJ_EXCEPTIONS
|
||||
GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS
|
||||
GLIBCPP_ENABLE_PCH([yes])
|
||||
GLIBCXX_CHECK_GNU_MAKE
|
||||
#GLIBCXX_CHECK_COMPILER_VERSION
|
||||
GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
|
||||
GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS
|
||||
GLIBCXX_ENABLE_PCH([yes])
|
||||
|
||||
# Enable all the variable C++ runtime options.
|
||||
# NB: C_MBCHAR must come early.
|
||||
GLIBCPP_ENABLE_CSTDIO
|
||||
GLIBCPP_ENABLE_CLOCALE
|
||||
GLIBCPP_ENABLE_CHEADERS([$c_model])
|
||||
GLIBCPP_ENABLE_C_MBCHAR([yes])
|
||||
GLIBCPP_ENABLE_C99([yes])
|
||||
GLIBCPP_ENABLE_LONG_LONG([yes])
|
||||
GLIBCPP_ENABLE_THREADS
|
||||
GLIBCPP_ENABLE_CONCEPT_CHECKS
|
||||
GLIBCPP_ENABLE_CXX_FLAGS
|
||||
GLIBCPP_ENABLE_DEBUG([no])
|
||||
GLIBCPP_ENABLE_DEBUG_FLAGS([none])
|
||||
GLIBCXX_ENABLE_CSTDIO
|
||||
GLIBCXX_ENABLE_CLOCALE
|
||||
GLIBCXX_ENABLE_CHEADERS([$c_model])
|
||||
GLIBCXX_ENABLE_C_MBCHAR([yes])
|
||||
GLIBCXX_ENABLE_C99([yes])
|
||||
GLIBCXX_ENABLE_LONG_LONG([yes])
|
||||
GLIBCXX_ENABLE_THREADS
|
||||
GLIBCXX_ENABLE_CONCEPT_CHECKS
|
||||
GLIBCXX_ENABLE_CXX_FLAGS
|
||||
GLIBCXX_ENABLE_DEBUG([no])
|
||||
GLIBCXX_ENABLE_DEBUG_FLAGS([none])
|
||||
|
||||
# No surprises, no surprises...
|
||||
if test $ATOMICITYH = cpu/generic ; then
|
||||
|
@ -82,13 +82,13 @@ fi
|
|||
if test x"$build" != x"$host"; then
|
||||
|
||||
# We are being configured with some form of cross compiler.
|
||||
GLIBCPP_IS_CROSS_COMPILING=true
|
||||
GLIBCXX_IS_CROSS_COMPILING=true
|
||||
|
||||
# This lets us hard-code the functionality we know we'll have in the cross
|
||||
# target environment. "Let" is a sugar-coated word placed on an especially
|
||||
# dull and tedious hack, actually.
|
||||
#
|
||||
# Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
|
||||
# Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
|
||||
# that involve linking, can't be used:
|
||||
# "cannot open sim-crt0.o"
|
||||
# "cannot open crt0.o"
|
||||
|
@ -99,7 +99,7 @@ if test x"$build" != x"$host"; then
|
|||
# crosses can be removed.
|
||||
|
||||
# If Canadian cross, then don't pick up tools from the build directory.
|
||||
# Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
|
||||
# Used in GLIBCXX_EXPORT_INCLUDES (and nowhere else?).
|
||||
if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
|
||||
&& test x"$build" != x"$target"; then
|
||||
CANADIAN=yes
|
||||
|
@ -108,9 +108,9 @@ if test x"$build" != x"$host"; then
|
|||
fi
|
||||
|
||||
# Construct crosses by hand, eliminating bits that need ld...
|
||||
# GLIBCPP_CHECK_COMPILER_FEATURES
|
||||
# GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
|
||||
# GLIBCPP_CHECK_MATH_SUPPORT
|
||||
# GLIBCXX_CHECK_COMPILER_FEATURES
|
||||
# GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
|
||||
# GLIBCXX_CHECK_MATH_SUPPORT
|
||||
|
||||
case "${host}" in
|
||||
*-freebsd*)
|
||||
|
@ -121,9 +121,9 @@ if test x"$build" != x"$host"; then
|
|||
sys/time.h unistd.h])
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
AC_SUBST(SECTION_FLAGS)
|
||||
GLIBCPP_CHECK_LINKER_FEATURES
|
||||
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_WCHAR_T_SUPPORT
|
||||
AC_DEFINE(HAVE_LC_MESSAGES)
|
||||
AC_DEFINE(HAVE_DRAND48)
|
||||
AC_DEFINE(HAVE_GETPAGESIZE)
|
||||
|
@ -178,9 +178,9 @@ if test x"$build" != x"$host"; then
|
|||
fp.h locale.h float.h inttypes.h])
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
AC_SUBST(SECTION_FLAGS)
|
||||
GLIBCPP_CHECK_LINKER_FEATURES
|
||||
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_WCHAR_T_SUPPORT
|
||||
AC_DEFINE(HAVE_COPYSIGN)
|
||||
AC_DEFINE(HAVE_COPYSIGNF)
|
||||
AC_DEFINE(HAVE_FREXPF)
|
||||
|
@ -203,9 +203,9 @@ if test x"$build" != x"$host"; then
|
|||
fp.h locale.h float.h inttypes.h])
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
AC_SUBST(SECTION_FLAGS)
|
||||
GLIBCPP_CHECK_LINKER_FEATURES
|
||||
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_WCHAR_T_SUPPORT
|
||||
AC_DEFINE(HAVE_COPYSIGN)
|
||||
AC_DEFINE(HAVE_COPYSIGNF)
|
||||
AC_DEFINE(HAVE_FINITE)
|
||||
|
@ -228,9 +228,9 @@ if test x"$build" != x"$host"; then
|
|||
*-mingw32*)
|
||||
os_include_dir="os/mingw32"
|
||||
AC_CHECK_HEADERS([sys/types.h locale.h float.h])
|
||||
GLIBCPP_CHECK_LINKER_FEATURES
|
||||
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_WCHAR_T_SUPPORT
|
||||
;;
|
||||
*-netbsd*)
|
||||
os_include_dir="os/bsd/netbsd"
|
||||
|
@ -239,9 +239,9 @@ if test x"$build" != x"$host"; then
|
|||
fp.h locale.h float.h inttypes.h])
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
AC_SUBST(SECTION_FLAGS)
|
||||
GLIBCPP_CHECK_LINKER_FEATURES
|
||||
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_WCHAR_T_SUPPORT
|
||||
AC_DEFINE(HAVE_COPYSIGN)
|
||||
AC_DEFINE(HAVE_COPYSIGNF)
|
||||
AC_DEFINE(HAVE_FINITEF)
|
||||
|
@ -262,9 +262,9 @@ if test x"$build" != x"$host"; then
|
|||
os_include_dir="os/qnx/qnx6.1"
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
AC_SUBST(SECTION_FLAGS)
|
||||
GLIBCPP_CHECK_LINKER_FEATURES
|
||||
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_WCHAR_T_SUPPORT
|
||||
AC_DEFINE(HAVE_COSF)
|
||||
AC_DEFINE(HAVE_COSL)
|
||||
AC_DEFINE(HAVE_COSHF)
|
||||
|
@ -331,7 +331,7 @@ if test x"$build" != x"$host"; then
|
|||
os_include_dir="os/newlib"
|
||||
AC_DEFINE(HAVE_HYPOT)
|
||||
|
||||
# GLIBCPP_CHECK_STDLIB_SUPPORT
|
||||
# GLIBCXX_CHECK_STDLIB_SUPPORT
|
||||
AC_DEFINE(HAVE_STRTOF)
|
||||
AC_DEFINE(HAVE_STRTOLD)
|
||||
# AC_FUNC_MMAP
|
||||
|
@ -402,7 +402,7 @@ else
|
|||
# We are being configured natively. We can do more elaborate tests
|
||||
# that include AC_TRY_COMPILE now, as the linker is assumed to be
|
||||
# working.
|
||||
GLIBCPP_IS_CROSS_COMPILING=false
|
||||
GLIBCXX_IS_CROSS_COMPILING=false
|
||||
CANADIAN=no
|
||||
|
||||
# Check for available headers.
|
||||
|
@ -410,18 +410,18 @@ else
|
|||
machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
|
||||
sys/types.h])
|
||||
|
||||
GLIBCPP_CHECK_COMPILER_FEATURES
|
||||
GLIBCPP_CHECK_LINKER_FEATURES
|
||||
GLIBCPP_CHECK_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCPP_CHECK_STDLIB_SUPPORT
|
||||
GLIBCXX_CHECK_COMPILER_FEATURES
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_WCHAR_T_SUPPORT
|
||||
GLIBCXX_CHECK_STDLIB_SUPPORT
|
||||
|
||||
# For showmanyc_helper().
|
||||
AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h)
|
||||
GLIBCPP_CHECK_POLL
|
||||
GLIBCPP_CHECK_S_ISREG_OR_S_IFREG
|
||||
GLIBCXX_CHECK_POLL
|
||||
GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
|
||||
|
||||
AC_LC_MESSAGES
|
||||
|
||||
|
@ -434,11 +434,11 @@ else
|
|||
AC_FUNC_MMAP
|
||||
fi
|
||||
|
||||
# This depends on GLIBCPP_CHECK_LINKER_FEATURES, but without it assumes no.
|
||||
GLIBCPP_ENABLE_SYMVERS([yes])
|
||||
# This depends on GLIBCXX_CHECK_LINKER_FEATURES, but without it assumes no.
|
||||
GLIBCXX_ENABLE_SYMVERS([yes])
|
||||
|
||||
# This depends on GLIBCPP_ENABLE_SYMVERS and GLIBCPP_IS_CROSS_COMPILING.
|
||||
GLIBCPP_CONFIGURE_TESTSUITE
|
||||
# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_CROSS_COMPILING.
|
||||
GLIBCXX_CONFIGURE_TESTSUITE
|
||||
|
||||
# Propagate the target-specific source directories through the build chain.
|
||||
# (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
|
||||
|
@ -452,10 +452,10 @@ AC_SUBST(OS_INC_SRCDIR)
|
|||
|
||||
|
||||
# Determine cross-compile flags and all AM_CONDITIONALs.
|
||||
AC_SUBST(GLIBCPP_IS_CROSS_COMPILING)
|
||||
AC_SUBST(GLIBCXX_IS_CROSS_COMPILING)
|
||||
AM_CONDITIONAL(CANADIAN, test "$CANADIAN" = yes)
|
||||
dnl from GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT:
|
||||
AM_CONDITIONAL(GLIBCPP_BUILD_LIBMATH, test "$need_libmath" = yes)
|
||||
dnl from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
|
||||
AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test "$need_libmath" = yes)
|
||||
|
||||
AC_CACHE_SAVE
|
||||
|
||||
|
@ -466,11 +466,11 @@ else
|
|||
fi
|
||||
|
||||
# Export all the install information
|
||||
GLIBCPP_EXPORT_INSTALL_INFO
|
||||
GLIBCXX_EXPORT_INSTALL_INFO
|
||||
|
||||
# Export all the include and flag information to Makefiles.
|
||||
GLIBCPP_EXPORT_INCLUDES
|
||||
GLIBCPP_EXPORT_FLAGS
|
||||
GLIBCXX_EXPORT_INCLUDES
|
||||
GLIBCXX_EXPORT_FLAGS
|
||||
|
||||
if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
|
||||
grep "enable shared" > /dev/null; then
|
||||
|
@ -497,7 +497,7 @@ po/Makefile testsuite/Makefile scripts/check_survey scripts/testsuite_flags,
|
|||
# Ony modify Makefiles that are just being created.
|
||||
case " $CONFIG_FILES" in
|
||||
*" Makefile"*)
|
||||
ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
|
||||
ac_file=Makefile . ${glibcxx_basedir}/../config-ml.in
|
||||
;;
|
||||
esac
|
||||
case $CONFIG_FILES in
|
||||
|
@ -527,7 +527,7 @@ with_build_subdir=${with_build_subdir}
|
|||
with_multisubdir=${with_multisubdir}
|
||||
ac_configure_args="${multilib_arg} ${ac_configure_args}"
|
||||
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
glibcpp_basedir=${glibcpp_basedir}
|
||||
glibcxx_basedir=${glibcxx_basedir}
|
||||
CC="${CC}"
|
||||
CXX="${CXX}"
|
||||
ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
|
||||
|
@ -543,7 +543,7 @@ dnl [if test -n "$CONFIG_FILES"; then
|
|||
dnl # Ony modify Makefiles that are just being created.
|
||||
dnl case " $CONFIG_FILES" in
|
||||
dnl *" Makefile"*)
|
||||
dnl ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
|
||||
dnl ac_file=Makefile . ${glibcxx_basedir}/../config-ml.in
|
||||
dnl ;;
|
||||
dnl esac
|
||||
dnl case $CONFIG_FILES in
|
||||
|
@ -571,7 +571,7 @@ dnl target=${target}
|
|||
dnl with_multisubdir=${with_multisubdir}
|
||||
dnl ac_configure_args="${multilib_arg} ${ac_configure_args}"
|
||||
dnl CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
dnl glibcpp_basedir=${glibcpp_basedir}
|
||||
dnl glibcxx_basedir=${glibcxx_basedir}
|
||||
dnl CC="${CC}"
|
||||
dnl CXX="${CXX}"
|
||||
dnl )
|
||||
|
|
|
@ -27,16 +27,16 @@ MAINT_CHARSET = latin1
|
|||
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
||||
|
||||
# Cross compiler and multilib support.
|
||||
CXX = @glibcpp_CXX@
|
||||
glibcpp_srcdir=@glibcpp_srcdir@
|
||||
glibcpp_builddir=@glibcpp_builddir@
|
||||
CXX = @glibcxx_CXX@
|
||||
glibcxx_srcdir=@glibcxx_srcdir@
|
||||
glibcxx_builddir=@glibcxx_builddir@
|
||||
|
||||
GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
|
||||
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
||||
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
||||
INCLUDES = -nostdinc++ $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES)
|
||||
INCLUDES = -nostdinc++ $(GLIBCXX_INCLUDES) $(LIBSUPCXX_INCLUDES)
|
||||
|
||||
# Standard C++ includes.
|
||||
std_srcdir = ${glibcpp_srcdir}/include/std
|
||||
std_srcdir = ${glibcxx_srcdir}/include/std
|
||||
std_builddir = .
|
||||
std_headers = \
|
||||
${std_srcdir}/std_algorithm.h \
|
||||
|
@ -100,7 +100,7 @@ std_headers_rename = \
|
|||
valarray \
|
||||
vector
|
||||
|
||||
bits_srcdir = ${glibcpp_srcdir}/include/bits
|
||||
bits_srcdir = ${glibcxx_srcdir}/include/bits
|
||||
bits_builddir = ./bits
|
||||
bits_headers = \
|
||||
${bits_srcdir}/allocator.h \
|
||||
|
@ -169,7 +169,7 @@ bits_headers = \
|
|||
${bits_srcdir}/valarray_after.h \
|
||||
${bits_srcdir}/vector.tcc
|
||||
|
||||
backward_srcdir = ${glibcpp_srcdir}/include/backward
|
||||
backward_srcdir = ${glibcxx_srcdir}/include/backward
|
||||
backward_builddir = ./backward
|
||||
backward_headers = \
|
||||
${backward_srcdir}/complex.h \
|
||||
|
@ -209,7 +209,7 @@ backward_headers = \
|
|||
${backward_srcdir}/strstream \
|
||||
${backward_srcdir}/backward_warning.h
|
||||
|
||||
ext_srcdir = ${glibcpp_srcdir}/include/ext
|
||||
ext_srcdir = ${glibcxx_srcdir}/include/ext
|
||||
ext_builddir = ./ext
|
||||
ext_headers = \
|
||||
${ext_srcdir}/algorithm \
|
||||
|
@ -278,7 +278,7 @@ c_base_headers_rename = \
|
|||
cwctype
|
||||
|
||||
# "C" compatibility headers.
|
||||
c_compatibility_srcdir = ${glibcpp_srcdir}/include/c_compatibility
|
||||
c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
|
||||
c_compatibility_builddir = .
|
||||
c_compatibility_headers = \
|
||||
${c_compatibility_srcdir}/assert.h \
|
||||
|
@ -303,31 +303,31 @@ c_compatibility_headers = \
|
|||
# Some of the different "C" header models need extra files.
|
||||
# Some "C" header schemes require the "C" compatibility headers.
|
||||
# For --enable-cheaders=c_std
|
||||
if GLIBCPP_C_HEADERS_C_STD
|
||||
if GLIBCXX_C_HEADERS_C_STD
|
||||
c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
|
||||
else
|
||||
c_base_headers_extra =
|
||||
endif
|
||||
|
||||
if GLIBCPP_C_HEADERS_COMPATIBILITY
|
||||
if GLIBCXX_C_HEADERS_COMPATIBILITY
|
||||
c_compatibility_headers_extra = ${c_compatibility_headers}
|
||||
else
|
||||
c_compatibility_headers_extra =
|
||||
endif
|
||||
|
||||
host_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
|
||||
host_srcdir = ${glibcxx_srcdir}/@OS_INC_SRCDIR@
|
||||
host_builddir = ./${host_alias}/bits
|
||||
host_headers = \
|
||||
${host_srcdir}/ctype_base.h \
|
||||
${host_srcdir}/ctype_inline.h \
|
||||
${host_srcdir}/ctype_noninline.h \
|
||||
${host_srcdir}/os_defines.h \
|
||||
${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
|
||||
${glibcpp_srcdir}/@FPOS_INC_SRCDIR@/fpos.h
|
||||
${glibcxx_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
|
||||
${glibcxx_srcdir}/@FPOS_INC_SRCDIR@/fpos.h
|
||||
|
||||
# Non-installed host_header files.
|
||||
host_headers_noinst = \
|
||||
${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@
|
||||
${glibcxx_srcdir}/@CLOCALE_INTERNAL_H@
|
||||
|
||||
# These host_headers_extra files are all built with ad hoc naming rules.
|
||||
host_headers_extra = \
|
||||
|
@ -347,9 +347,9 @@ thread_host_headers = \
|
|||
|
||||
pch_input = ${host_builddir}/stdc++.h
|
||||
pch_output_builddir = ${host_builddir}/stdc++.h.gch
|
||||
pch_source = ${glibcpp_srcdir}/include/stdc++.h
|
||||
pch_source = ${glibcxx_srcdir}/include/stdc++.h
|
||||
PCHFLAGS=-Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
|
||||
if GLIBCPP_BUILD_PCH
|
||||
if GLIBCXX_BUILD_PCH
|
||||
pch_build = ${pch_input}
|
||||
pch_install = install-pch
|
||||
else
|
||||
|
@ -452,57 +452,57 @@ stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
|
|||
@if [ ! -f stamp-host ]; then \
|
||||
(cd ${host_builddir} ;\
|
||||
@LN_S@ ${host_headers} . || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@ . || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CTIME_H@ time_members.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
|
||||
@LN_S@ ${glibcxx_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CSTDIO_H@ c++io.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CLOCALE_INTERNAL_H@ . || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CTIME_H@ time_members.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
|
||||
echo `date` > stamp-host ; \
|
||||
fi
|
||||
|
||||
# Host includes dynamic.
|
||||
${host_builddir}/c++config.h: ${CONFIG_HEADER} \
|
||||
${glibcpp_srcdir}/include/bits/c++config \
|
||||
${glibcxx_srcdir}/include/bits/c++config \
|
||||
stamp-${host_alias}
|
||||
@cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
|
||||
sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
|
||||
-e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
|
||||
-e 's/VERSION/_GLIBCPP_VERSION/g' \
|
||||
-e 's/WORDS_/_GLIBCPP_WORDS_/g' \
|
||||
@cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
|
||||
sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
|
||||
-e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
|
||||
-e 's/VERSION/_GLIBCXX_VERSION/g' \
|
||||
-e 's/WORDS_/_GLIBCXX_WORDS_/g' \
|
||||
< ${CONFIG_HEADER} >> $@ ;\
|
||||
echo "#endif // _CPP_CPPCONFIG_" >>$@
|
||||
echo "#endif // _CXXCONFIG_" >>$@
|
||||
|
||||
# Host includes for threads
|
||||
glibcpp_thread_h = @glibcpp_thread_h@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
|
||||
|
||||
${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
|
||||
sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
|
||||
sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
|
||||
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
|
||||
< ${toplevel_srcdir}/gcc/gthr.h > $@
|
||||
|
||||
${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
< ${toplevel_srcdir}/gcc/gthr-single.h > $@
|
||||
|
||||
${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
|
||||
< ${toplevel_srcdir}/gcc/gthr-posix.h > $@
|
||||
|
||||
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
|
||||
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
|
||||
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
|
||||
< ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
|
||||
< ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
|
||||
|
||||
# Build a precompiled C++ include, stdc++.h.gch.
|
||||
${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
|
||||
|
|
|
@ -95,7 +95,7 @@ FPOS_H = @FPOS_H@
|
|||
FPOS_INC_SRCDIR = @FPOS_INC_SRCDIR@
|
||||
GCJ = @GCJ@
|
||||
GCJFLAGS = @GCJFLAGS@
|
||||
GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
|
||||
GLIBCXX_IS_CROSS_COMPILING = @GLIBCXX_IS_CROSS_COMPILING@
|
||||
LIBMATHOBJS = @LIBMATHOBJS@
|
||||
LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
|
||||
LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
|
||||
|
@ -124,15 +124,15 @@ baseline_dir = @baseline_dir@
|
|||
check_msgfmt = @check_msgfmt@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
glibcpp_CXX = @glibcpp_CXX@
|
||||
glibcpp_MOFILES = @glibcpp_MOFILES@
|
||||
glibcpp_PCHFLAGS = @glibcpp_PCHFLAGS@
|
||||
glibcpp_POFILES = @glibcpp_POFILES@
|
||||
glibcpp_basedir = @glibcpp_basedir@
|
||||
glibcpp_localedir = @glibcpp_localedir@
|
||||
glibcpp_prefixdir = @glibcpp_prefixdir@
|
||||
glibcpp_toolexecdir = @glibcpp_toolexecdir@
|
||||
glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
|
||||
glibcxx_CXX = @glibcxx_CXX@
|
||||
glibcxx_MOFILES = @glibcxx_MOFILES@
|
||||
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
|
||||
glibcxx_POFILES = @glibcxx_POFILES@
|
||||
glibcxx_basedir = @glibcxx_basedir@
|
||||
glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
ifGNUmake = @ifGNUmake@
|
||||
libtool_VERSION = @libtool_VERSION@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
|
@ -143,16 +143,16 @@ MAINT_CHARSET = latin1
|
|||
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
||||
|
||||
# Cross compiler and multilib support.
|
||||
CXX = @glibcpp_CXX@
|
||||
glibcpp_srcdir = @glibcpp_srcdir@
|
||||
glibcpp_builddir = @glibcpp_builddir@
|
||||
CXX = @glibcxx_CXX@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
|
||||
GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
|
||||
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
||||
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
||||
INCLUDES = -nostdinc++ $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES)
|
||||
INCLUDES = -nostdinc++ $(GLIBCXX_INCLUDES) $(LIBSUPCXX_INCLUDES)
|
||||
|
||||
# Standard C++ includes.
|
||||
std_srcdir = ${glibcpp_srcdir}/include/std
|
||||
std_srcdir = ${glibcxx_srcdir}/include/std
|
||||
std_builddir = .
|
||||
std_headers = \
|
||||
${std_srcdir}/std_algorithm.h \
|
||||
|
@ -218,7 +218,7 @@ std_headers_rename = \
|
|||
vector
|
||||
|
||||
|
||||
bits_srcdir = ${glibcpp_srcdir}/include/bits
|
||||
bits_srcdir = ${glibcxx_srcdir}/include/bits
|
||||
bits_builddir = ./bits
|
||||
bits_headers = \
|
||||
${bits_srcdir}/allocator.h \
|
||||
|
@ -288,7 +288,7 @@ bits_headers = \
|
|||
${bits_srcdir}/vector.tcc
|
||||
|
||||
|
||||
backward_srcdir = ${glibcpp_srcdir}/include/backward
|
||||
backward_srcdir = ${glibcxx_srcdir}/include/backward
|
||||
backward_builddir = ./backward
|
||||
backward_headers = \
|
||||
${backward_srcdir}/complex.h \
|
||||
|
@ -329,7 +329,7 @@ backward_headers = \
|
|||
${backward_srcdir}/backward_warning.h
|
||||
|
||||
|
||||
ext_srcdir = ${glibcpp_srcdir}/include/ext
|
||||
ext_srcdir = ${glibcxx_srcdir}/include/ext
|
||||
ext_builddir = ./ext
|
||||
ext_headers = \
|
||||
${ext_srcdir}/algorithm \
|
||||
|
@ -400,7 +400,7 @@ c_base_headers_rename = \
|
|||
|
||||
|
||||
# "C" compatibility headers.
|
||||
c_compatibility_srcdir = ${glibcpp_srcdir}/include/c_compatibility
|
||||
c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
|
||||
c_compatibility_builddir = .
|
||||
c_compatibility_headers = \
|
||||
${c_compatibility_srcdir}/assert.h \
|
||||
|
@ -422,25 +422,25 @@ c_compatibility_headers = \
|
|||
${c_compatibility_srcdir}/wchar.h \
|
||||
${c_compatibility_srcdir}/wctype.h
|
||||
|
||||
@GLIBCPP_C_HEADERS_C_STD_TRUE@c_base_headers_extra = @GLIBCPP_C_HEADERS_C_STD_TRUE@${c_base_srcdir}/cmath.tcc
|
||||
@GLIBCPP_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
|
||||
@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = @GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@${c_compatibility_headers}
|
||||
@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
|
||||
@GLIBCXX_C_HEADERS_C_STD_TRUE@c_base_headers_extra = @GLIBCXX_C_HEADERS_C_STD_TRUE@${c_base_srcdir}/cmath.tcc
|
||||
@GLIBCXX_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
|
||||
@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@${c_compatibility_headers}
|
||||
@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
|
||||
|
||||
host_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
|
||||
host_srcdir = ${glibcxx_srcdir}/@OS_INC_SRCDIR@
|
||||
host_builddir = ./${host_alias}/bits
|
||||
host_headers = \
|
||||
${host_srcdir}/ctype_base.h \
|
||||
${host_srcdir}/ctype_inline.h \
|
||||
${host_srcdir}/ctype_noninline.h \
|
||||
${host_srcdir}/os_defines.h \
|
||||
${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
|
||||
${glibcpp_srcdir}/@FPOS_INC_SRCDIR@/fpos.h
|
||||
${glibcxx_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
|
||||
${glibcxx_srcdir}/@FPOS_INC_SRCDIR@/fpos.h
|
||||
|
||||
|
||||
# Non-installed host_header files.
|
||||
host_headers_noinst = \
|
||||
${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@
|
||||
${glibcxx_srcdir}/@CLOCALE_INTERNAL_H@
|
||||
|
||||
|
||||
# These host_headers_extra files are all built with ad hoc naming rules.
|
||||
|
@ -463,12 +463,12 @@ thread_host_headers = \
|
|||
|
||||
pch_input = ${host_builddir}/stdc++.h
|
||||
pch_output_builddir = ${host_builddir}/stdc++.h.gch
|
||||
pch_source = ${glibcpp_srcdir}/include/stdc++.h
|
||||
pch_source = ${glibcxx_srcdir}/include/stdc++.h
|
||||
PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
|
||||
@GLIBCPP_BUILD_PCH_TRUE@pch_build = @GLIBCPP_BUILD_PCH_TRUE@${pch_input}
|
||||
@GLIBCPP_BUILD_PCH_FALSE@pch_build =
|
||||
@GLIBCPP_BUILD_PCH_TRUE@pch_install = @GLIBCPP_BUILD_PCH_TRUE@install-pch
|
||||
@GLIBCPP_BUILD_PCH_FALSE@pch_install =
|
||||
@GLIBCXX_BUILD_PCH_TRUE@pch_build = @GLIBCXX_BUILD_PCH_TRUE@${pch_input}
|
||||
@GLIBCXX_BUILD_PCH_FALSE@pch_build =
|
||||
@GLIBCXX_BUILD_PCH_TRUE@pch_install = @GLIBCXX_BUILD_PCH_TRUE@install-pch
|
||||
@GLIBCXX_BUILD_PCH_FALSE@pch_install =
|
||||
|
||||
# List of all timestamp files. By keeping only one copy of this list, both
|
||||
# CLEANFILES and all-local are kept up-to-date.
|
||||
|
@ -486,7 +486,7 @@ allcreated = \
|
|||
|
||||
|
||||
# Host includes for threads
|
||||
glibcpp_thread_h = @glibcpp_thread_h@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
|
||||
|
||||
# For robustness sake (in light of junk files or in-source
|
||||
|
@ -686,53 +686,53 @@ stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
|
|||
@if [ ! -f stamp-host ]; then \
|
||||
(cd ${host_builddir} ;\
|
||||
@LN_S@ ${host_headers} . || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@ . || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CTIME_H@ time_members.h || true ;\
|
||||
@LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
|
||||
@LN_S@ ${glibcxx_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CSTDIO_H@ c++io.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CLOCALE_INTERNAL_H@ . || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CTIME_H@ time_members.h || true ;\
|
||||
@LN_S@ ${glibcxx_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
|
||||
echo `date` > stamp-host ; \
|
||||
fi
|
||||
|
||||
# Host includes dynamic.
|
||||
${host_builddir}/c++config.h: ${CONFIG_HEADER} \
|
||||
${glibcpp_srcdir}/include/bits/c++config \
|
||||
${glibcxx_srcdir}/include/bits/c++config \
|
||||
stamp-${host_alias}
|
||||
@cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
|
||||
sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
|
||||
-e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
|
||||
-e 's/VERSION/_GLIBCPP_VERSION/g' \
|
||||
-e 's/WORDS_/_GLIBCPP_WORDS_/g' \
|
||||
@cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
|
||||
sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
|
||||
-e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
|
||||
-e 's/VERSION/_GLIBCXX_VERSION/g' \
|
||||
-e 's/WORDS_/_GLIBCXX_WORDS_/g' \
|
||||
< ${CONFIG_HEADER} >> $@ ;\
|
||||
echo "#endif // _CPP_CPPCONFIG_" >>$@
|
||||
echo "#endif // _CXXCONFIG_" >>$@
|
||||
|
||||
${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
|
||||
sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
|
||||
sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
|
||||
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
|
||||
< ${toplevel_srcdir}/gcc/gthr.h > $@
|
||||
|
||||
${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
< ${toplevel_srcdir}/gcc/gthr-single.h > $@
|
||||
|
||||
${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
|
||||
< ${toplevel_srcdir}/gcc/gthr-posix.h > $@
|
||||
|
||||
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
|
||||
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
|
||||
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
|
||||
< ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
|
||||
< ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
|
||||
|
||||
# Build a precompiled C++ include, stdc++.h.gch.
|
||||
${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_ALGO_H
|
||||
#define _CPP_BACKWARD_ALGO_H 1
|
||||
#ifndef _BACKWARD_ALGO_H
|
||||
#define _BACKWARD_ALGO_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "algobase.h"
|
||||
|
@ -142,7 +142,7 @@ using __gnu_cxx::count_if; // Extension returning void
|
|||
using __gnu_cxx::power;
|
||||
using __gnu_cxx::iota;
|
||||
|
||||
#endif /* _CPP_BACKWARD_ALGO_H */
|
||||
#endif /* _BACKWARD_ALGO_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_ALGOBASE_H
|
||||
#define _CPP_BACKWARD_ALGOBASE_H 1
|
||||
#ifndef _BACKWARD_ALGOBASE_H
|
||||
#define _BACKWARD_ALGOBASE_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "pair.h"
|
||||
|
@ -88,7 +88,7 @@ using __gnu_cxx::lexicographical_compare_3way;
|
|||
// Names from ext/memory
|
||||
using __gnu_cxx::uninitialized_copy_n;
|
||||
|
||||
#endif /* _CPP_BACKWARD_ALGOBASE_H */
|
||||
#endif /* _BACKWARD_ALGOBASE_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_ALLOC_H
|
||||
#define _CPP_BACKWARD_ALLOC_H 1
|
||||
#ifndef _BACKWARD_ALLOC_H
|
||||
#define _BACKWARD_ALLOC_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <bits/c++config.h>
|
||||
|
|
|
@ -25,15 +25,15 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_BACKWARD_WARNING_H
|
||||
#define _CPP_BACKWARD_BACKWARD_WARNING_H 1
|
||||
#ifndef _BACKWARD_BACKWARD_WARNING_H
|
||||
#define _BACKWARD_BACKWARD_WARNING_H 1
|
||||
|
||||
#ifdef __DEPRECATED
|
||||
#warning This file includes at least one deprecated or antiquated header. \
|
||||
Please consider using one of the 32 headers found in section 17.4.1.2 of the \
|
||||
C++ standard. Examples include substituting the <X> header for the <X.h> \
|
||||
header for C++ includes, or <sstream> instead of the deprecated header \
|
||||
<strstream.h>. To disable this warning use -Wno-deprecated.
|
||||
header for C++ includes, or <iostream> instead of the deprecated header \
|
||||
<iostream.h>. To disable this warning use -Wno-deprecated.
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -53,16 +53,15 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef __SGI_STL_BVECTOR_H
|
||||
#define __SGI_STL_BVECTOR_H
|
||||
|
||||
#ifndef _BACKWARD_BVECTOR_H
|
||||
#define _BACKWARD_BVECTOR_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <vector>
|
||||
|
||||
using std::bit_vector;
|
||||
|
||||
#endif /* __SGI_STL_BVECTOR_H */
|
||||
#endif /* _BACKWARD_BVECTOR_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_COMPLEX_H
|
||||
#define _CPP_BACKWARD_COMPLEX_H 1
|
||||
#ifndef _BACKWARD_COMPLEX_H
|
||||
#define _BACKWARD_COMPLEX_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <complex>
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
// Standard-conforming allocators have a very different interface. The
|
||||
// standard default allocator is declared in the header <memory>.
|
||||
|
||||
#ifndef _CPP_BACKWARD_DEFALLOC_H
|
||||
#define _CPP_BACKWARD_DEFALLOC_H 1
|
||||
#ifndef _BACKWARD_DEFALLOC_H
|
||||
#define _BACKWARD_DEFALLOC_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "new.h"
|
||||
|
@ -114,4 +114,4 @@ public:
|
|||
|
||||
|
||||
|
||||
#endif /* _CPP_BACKWARD_DEFALLOC_H */
|
||||
#endif /* _BACKWARD_DEFALLOC_H */
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_DEQUE_H
|
||||
#define _CPP_BACKWARD_DEQUE_H 1
|
||||
#ifndef _BACKWARD_DEQUE_H
|
||||
#define _BACKWARD_DEQUE_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "algobase.h"
|
||||
|
@ -63,7 +63,7 @@
|
|||
|
||||
using std::deque;
|
||||
|
||||
#endif /* _CPP_BACKWARD_DEQUE_H */
|
||||
#endif /* _BACKWARD_DEQUE_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_FSTREAM_H
|
||||
#define _CPP_BACKWARD_FSTREAM_H 1
|
||||
#ifndef _BACKWARD_FSTREAM_H
|
||||
#define _BACKWARD_FSTREAM_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <fstream>
|
||||
|
@ -37,7 +37,7 @@ using std::ofstream;
|
|||
using std::fstream;
|
||||
using std::streampos;
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
using std::wfilebuf;
|
||||
using std::wifstream;
|
||||
using std::wofstream;
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_FUNCTION_H
|
||||
#define _CPP_BACKWARD_FUNCTION_H 1
|
||||
#ifndef _BACKWARD_FUNCTION_H
|
||||
#define _BACKWARD_FUNCTION_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <bits/c++config.h>
|
||||
|
@ -123,7 +123,7 @@ using __gnu_cxx::subtractive_rng;
|
|||
using __gnu_cxx::mem_fun1;
|
||||
using __gnu_cxx::mem_fun1_ref;
|
||||
|
||||
#endif /* _CPP_BACKWARD_FUNCTION_H */
|
||||
#endif /* _BACKWARD_FUNCTION_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_HASH_MAP_H
|
||||
#define _CPP_BACKWARD_HASH_MAP_H 1
|
||||
#ifndef _BACKWARD_HASH_MAP_H
|
||||
#define _BACKWARD_HASH_MAP_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "algobase.h"
|
||||
|
@ -65,7 +65,7 @@ using __gnu_cxx::hashtable;
|
|||
using __gnu_cxx::hash_map;
|
||||
using __gnu_cxx::hash_multimap;
|
||||
|
||||
#endif /* _CPP_BACKWARD_HASH_MAP_H */
|
||||
#endif /* _BACKWARD_HASH_MAP_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_HASH_SET_H
|
||||
#define _CPP_BACKWARD_HASH_SET_H 1
|
||||
#ifndef _BACKWARD_HASH_SET_H
|
||||
#define _BACKWARD_HASH_SET_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "algobase.h"
|
||||
|
@ -65,5 +65,5 @@ using __gnu_cxx::hashtable;
|
|||
using __gnu_cxx::hash_set;
|
||||
using __gnu_cxx::hash_multiset;
|
||||
|
||||
#endif /* _CPP_BACKWARD_HASH_SET_H */
|
||||
#endif /* _BACKWARD_HASH_SET_H */
|
||||
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
* You should not attempt to use it directly.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_HASHTABLE_H
|
||||
#define _CPP_BACKWARD_HASHTABLE_H 1
|
||||
#ifndef _BACKWARD_HASHTABLE_H
|
||||
#define _BACKWARD_HASHTABLE_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <ext/hashtable.h>
|
||||
|
@ -69,7 +69,7 @@
|
|||
using __gnu_cxx::hash;
|
||||
using __gnu_cxx::hashtable;
|
||||
|
||||
#endif /* _CPP_BACKWARD_HASHTABLE_H */
|
||||
#endif /* _BACKWARD_HASHTABLE_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_HEAP_H
|
||||
#define _CPP_BACKWARD_HEAP_H 1
|
||||
#ifndef _BACKWARD_HEAP_H
|
||||
#define _BACKWARD_HEAP_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <bits/c++config.h>
|
||||
|
@ -64,7 +64,7 @@ using std::pop_heap;
|
|||
using std::make_heap;
|
||||
using std::sort_heap;
|
||||
|
||||
#endif /* _CPP_BACKWARD_HEAP_H */
|
||||
#endif /* _BACKWARD_HEAP_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_IOMANIP_H
|
||||
#define _CPP_BACKWARD_IOMANIP_H 1
|
||||
#ifndef _BACKWARD_IOMANIP_H
|
||||
#define _BACKWARD_IOMANIP_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "iostream.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_IOSTREAM_H
|
||||
#define _CPP_BACKWARD_IOSTREAM_H 1
|
||||
#ifndef _BACKWARD_IOSTREAM_H
|
||||
#define _BACKWARD_IOSTREAM_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <iostream>
|
||||
|
@ -41,7 +41,7 @@ using std::cout;
|
|||
using std::cin;
|
||||
using std::cerr;
|
||||
using std::clog;
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
using std::wcout;
|
||||
using std::wcin;
|
||||
using std::wcerr;
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_ISTREAM_H
|
||||
#define _CPP_BACKWARD_ISTREAM_H 1
|
||||
#ifndef _BACKWARD_ISTREAM_H
|
||||
#define _BACKWARD_ISTREAM_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "iostream.h"
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_ITERATOR_H
|
||||
#define _CPP_BACKWARD_ITERATOR_H 1
|
||||
#ifndef _BACKWARD_ITERATOR_H
|
||||
#define _BACKWARD_ITERATOR_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "function.h"
|
||||
|
@ -155,7 +155,7 @@ template <class _ForwardIterator>
|
|||
// Names from stl_raw_storage_iter.h
|
||||
using std::raw_storage_iterator;
|
||||
|
||||
#endif /* _CPP_BACKWARD_ITERATOR_H */
|
||||
#endif /* _BACKWARD_ITERATOR_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_LIST_H
|
||||
#define _CPP_BACKWARD_LIST_H 1
|
||||
#ifndef _BACKWARD_LIST_H
|
||||
#define _BACKWARD_LIST_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "algobase.h"
|
||||
|
@ -63,7 +63,7 @@
|
|||
|
||||
using std::list;
|
||||
|
||||
#endif /* _CPP_BACKWARD_LIST_H */
|
||||
#endif /* _BACKWARD_LIST_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_MAP_H
|
||||
#define _CPP_BACKWARD_MAP_H 1
|
||||
#ifndef _BACKWARD_MAP_H
|
||||
#define _BACKWARD_MAP_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "tree.h"
|
||||
|
@ -62,7 +62,7 @@
|
|||
|
||||
using std::map;
|
||||
|
||||
#endif /* _CPP_BACKWARD_MAP_H */
|
||||
#endif /* _BACKWARD_MAP_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_MULTIMAP_H
|
||||
#define _CPP_BACKWARD_MULTIMAP_H 1
|
||||
#ifndef _BACKWARD_MULTIMAP_H
|
||||
#define _BACKWARD_MULTIMAP_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "tree.h"
|
||||
|
@ -62,7 +62,7 @@
|
|||
|
||||
using std::multimap;
|
||||
|
||||
#endif /* _CPP_BACKWARD_MULTIMAP_H */
|
||||
#endif /* _BACKWARD_MULTIMAP_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_MULTISET_H
|
||||
#define _CPP_BACKWARD_MULTISET_H 1
|
||||
#ifndef _BACKWARD_MULTISET_H
|
||||
#define _BACKWARD_MULTISET_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "tree.h"
|
||||
|
@ -62,7 +62,7 @@
|
|||
|
||||
using std::multiset;
|
||||
|
||||
#endif /* _CPP_BACKWARD_MULTISET_H */
|
||||
#endif /* _BACKWARD_MULTISET_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_NEW_H
|
||||
#define _CPP_BACKWARD_NEW_H 1
|
||||
#ifndef _BACKWARD_NEW_H
|
||||
#define _BACKWARD_NEW_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <new>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_OSTREAM_H
|
||||
#define _CPP_BACKWARD_OSTREAM_H 1
|
||||
#ifndef _BACKWARD_OSTREAM_H
|
||||
#define _BACKWARD_OSTREAM_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "iostream.h"
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_PAIR_H
|
||||
#define _CPP_BACKWARD_PAIR_H 1
|
||||
#ifndef _BACKWARD_PAIR_H
|
||||
#define _BACKWARD_PAIR_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <bits/c++config.h>
|
||||
|
@ -63,7 +63,7 @@
|
|||
using std::pair;
|
||||
using std::make_pair;
|
||||
|
||||
#endif /* _CPP_BACKWARD_PAIR_H */
|
||||
#endif /* _BACKWARD_PAIR_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_QUEUE_H
|
||||
#define _CPP_BACKWARD_QUEUE_H 1
|
||||
#ifndef _BACKWARD_QUEUE_H
|
||||
#define _BACKWARD_QUEUE_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <queue>
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_ROPE_H
|
||||
#define _CPP_BACKWARD_ROPE_H 1
|
||||
#ifndef _BACKWARD_ROPE_H
|
||||
#define _BACKWARD_ROPE_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "hashtable.h"
|
||||
|
@ -53,7 +53,7 @@ using __gnu_cxx::rope;
|
|||
using __gnu_cxx::crope;
|
||||
using __gnu_cxx::wrope;
|
||||
|
||||
#endif /* _CPP_BACKWARD_ROPE_H */
|
||||
#endif /* _BACKWARD_ROPE_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_SET_H
|
||||
#define _CPP_BACKWARD_SET_H 1
|
||||
#ifndef _BACKWARD_SET_H
|
||||
#define _BACKWARD_SET_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "tree.h"
|
||||
|
@ -62,7 +62,7 @@
|
|||
|
||||
using std::set;
|
||||
|
||||
#endif /* _CPP_BACKWARD_SET_H */
|
||||
#endif /* _BACKWARD_SET_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -41,15 +41,15 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_SLIST_H
|
||||
#define _CPP_BACKWARD_SLIST_H 1
|
||||
#ifndef _BACKWARD_SLIST_H
|
||||
#define _BACKWARD_SLIST_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <ext/slist>
|
||||
|
||||
using __gnu_cxx::slist;
|
||||
|
||||
#endif /* _CPP_BACKWARD_SLIST_H */
|
||||
#endif /* _BACKWARD_SLIST_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_STACK_H
|
||||
#define _CPP_BACKWARD_STACK_H 1
|
||||
#ifndef _BACKWARD_STACK_H
|
||||
#define _BACKWARD_STACK_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "vector.h"
|
||||
|
@ -65,7 +65,7 @@
|
|||
|
||||
using std::stack;
|
||||
|
||||
#endif /* _CPP_BACKWARD_STACK_H */
|
||||
#endif /* _BACKWARD_STACK_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_STREAM_H
|
||||
#define _CPP_BACKWARD_STREAM_H 1
|
||||
#ifndef _BACKWARD_STREAM_H
|
||||
#define _BACKWARD_STREAM_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "iostream.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _CPP_BACKWARD_STREAMBUF_H
|
||||
#define _CPP_BACKWARD_STREAMBUF_H 1
|
||||
#ifndef _BACKWARD_STREAMBUF_H
|
||||
#define _BACKWARD_STREAMBUF_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include <streambuf>
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef _CPP_BACKWARD_TEMPBUF_H
|
||||
#define _CPP_BACKWARD_TEMPBUF_H 1
|
||||
#ifndef _BACKWARD_TEMPBUF_H
|
||||
#define _BACKWARD_TEMPBUF_H 1
|
||||
|
||||
#include "backward_warning.h"
|
||||
#include "pair.h"
|
||||
|
@ -71,7 +71,7 @@ using std::get_temporary_buffer;
|
|||
using std::return_temporary_buffer;
|
||||
using __gnu_cxx::temporary_buffer;
|
||||
|
||||
#endif /* _CPP_BACKWARD_TEMPBUF_H */
|
||||
#endif /* _BACKWARD_TEMPBUF_H */
|
||||
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue