aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2001-01-25 15:35:10 +0000
committerPhil Edwards <pme@gcc.gnu.org>2001-01-25 15:35:10 +0000
commit69d211dd50e809c93f019b2af6a708a99a5094b5 (patch)
treef960d0b8cf430566ccbadba50f1e02ae334ba62b /libstdc++-v3/include
parent97876d66909605ab97656b0248889e49d9d363e3 (diff)
downloadgcc-69d211dd50e809c93f019b2af6a708a99a5094b5.zip
gcc-69d211dd50e809c93f019b2af6a708a99a5094b5.tar.gz
gcc-69d211dd50e809c93f019b2af6a708a99a5094b5.tar.bz2
std_iterator.h: Do not include stl_relops.h.
2001-01-25 Phil Edwards <pme@sources.redhat.com> * 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
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r--libstdc++-v3/include/bits/std_iterator.h1
-rw-r--r--libstdc++-v3/include/bits/std_numeric.h1
-rw-r--r--libstdc++-v3/include/bits/stl_algobase.h1
-rw-r--r--libstdc++-v3/include/bits/stl_relops.h10
4 files changed, 10 insertions, 3 deletions
diff --git a/libstdc++-v3/include/bits/std_iterator.h b/libstdc++-v3/include/bits/std_iterator.h
index 643cff9..65eda06 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 <bits/stl_config.h>
-#include <bits/stl_relops.h>
#include <bits/std_cstddef.h>
#include <bits/std_iosfwd.h>
#include <bits/stl_iterator_base.h>
diff --git a/libstdc++-v3/include/bits/std_numeric.h b/libstdc++-v3/include/bits/std_numeric.h
index 8b7c6fd..e9cd42d 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 <bits/stl_config.h>
-#include <bits/stl_relops.h>
#include <bits/std_cstddef.h>
#include <bits/std_iterator.h>
#include <bits/stl_function.h>
diff --git a/libstdc++-v3/include/bits/stl_algobase.h b/libstdc++-v3/include/bits/stl_algobase.h
index 5a8a576..a9ab37b 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 <bits/stl_config.h>
-#include <bits/stl_relops.h>
#ifndef __SGI_STL_INTERNAL_PAIR_H
#include <bits/stl_pair.h>
#endif
diff --git a/libstdc++-v3/include/bits/stl_relops.h b/libstdc++-v3/include/bits/stl_relops.h
index f0cabdf..338194b 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 <URL:http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html>, or the
+ * FAQ at <URL:http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_4>.
+ *
+ * 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