From: Phil Edwards Date: Thu, 25 Jan 2001 15:35:10 +0000 (+0000) Subject: std_iterator.h: Do not include stl_relops.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69d211dd50e809c93f019b2af6a708a99a5094b5;p=gcc.git std_iterator.h: Do not include stl_relops.h. 2001-01-25 Phil Edwards * include/bits/std_iterator.h: Do not include stl_relops.h. * include/bits/std_numeric.h: Ditto. * include/bits/stl_algobase.h: Ditto. * include/bits/stl_relops.h: Add comment warning about problems. From-SVN: r39267 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cdd518c4e46..9478830cc3c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2001-01-25 Phil Edwards + + * include/bits/std_iterator.h: Do not include stl_relops.h. + * include/bits/std_numeric.h: Ditto. + * include/bits/stl_algobase.h: Ditto. + * include/bits/stl_relops.h: Add comment warning about problems. + 2001-01-25 Gabriel Dos Reis * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/' diff --git a/libstdc++-v3/include/bits/std_iterator.h b/libstdc++-v3/include/bits/std_iterator.h index 643cff99cb8..65eda060737 100644 --- a/libstdc++-v3/include/bits/std_iterator.h +++ b/libstdc++-v3/include/bits/std_iterator.h @@ -28,7 +28,6 @@ #define _CPP_ITERATOR 1 #include -#include #include #include #include diff --git a/libstdc++-v3/include/bits/std_numeric.h b/libstdc++-v3/include/bits/std_numeric.h index 8b7c6fd9666..e9cd42de828 100644 --- a/libstdc++-v3/include/bits/std_numeric.h +++ b/libstdc++-v3/include/bits/std_numeric.h @@ -28,7 +28,6 @@ #define _CPP_NUMERIC 1 #include -#include #include #include #include diff --git a/libstdc++-v3/include/bits/stl_algobase.h b/libstdc++-v3/include/bits/stl_algobase.h index 5a8a576e97f..a9ab37bcfad 100644 --- a/libstdc++-v3/include/bits/stl_algobase.h +++ b/libstdc++-v3/include/bits/stl_algobase.h @@ -33,7 +33,6 @@ #define __SGI_STL_INTERNAL_ALGOBASE_H #include -#include #ifndef __SGI_STL_INTERNAL_PAIR_H #include #endif diff --git a/libstdc++-v3/include/bits/stl_relops.h b/libstdc++-v3/include/bits/stl_relops.h index f0cabdfd544..338194b5187 100644 --- a/libstdc++-v3/include/bits/stl_relops.h +++ b/libstdc++-v3/include/bits/stl_relops.h @@ -28,6 +28,16 @@ * You should not attempt to use it directly. */ +/**** libstdc++-v3 note: Inclusion of this file has been removed from + * all of the other STL headers for safety reasons, except std_utility.h. + * For more information, see the thread of about twenty messages starting + * with , or the + * FAQ at . + * + * Short summary: the rel_ops operators cannot be made to play nice. + * Don't use them. +*/ + #ifndef _CPP_BITS_STL_RELOPS_H #define _CPP_BITS_STL_RELOPS_H 1