This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
.../include/g++/tree.h
- To: egcs-bugs at cygnus dot com
- Subject: .../include/g++/tree.h
- From: Fred Richardson <frichard at bbn dot com>
- Date: Fri, 17 Oct 1997 08:39:42 -0400
- Reply-to: frichard at bbn dot com
I've noticed that this file differs from the current SGI STL release:
*** include/g++/tree.h Thu Oct 16 21:16:39 1997
--- STL.SGI/tree.h Mon Sep 8 19:34:58 1997
***************
*** 524,531 ****
// allocation/deallocation
rb_tree(const Compare& comp = Compare())
! : key_compare(comp), node_count(0) { init(); }
rb_tree(const rb_tree<Key, Value, KeyOfValue, Compare, Alloc>& x)
! : key_compare(x.key_compare), node_count(0) {
header = get_node();
color(header) = __rb_tree_red;
--- 524,531 ----
// allocation/deallocation
rb_tree(const Compare& comp = Compare())
! : node_count(0), key_compare(comp) { init(); }
rb_tree(const rb_tree<Key, Value, KeyOfValue, Compare, Alloc>& x)
! : node_count(0), key_compare(x.key_compare) {
header = get_node();
color(header) = __rb_tree_red;
The current egcs version of this file causes a member initializer
re-ordering warning to be flagged. But the SGI version doesn't.
-Fred