This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
warnings: base init. will be reordered, when just including "rope.h"
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: warnings: base init. will be reordered, when just including "rope.h"
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- Date: Wed, 10 Nov 1999 17:05:47 +0100 (MET)
[This behaviour was reported on the Debian bug tracking system. Please
CC 46444@bugs.debian.org on replies.
Is this the right place to report this behaviour, or should the
SGI libstdc++ mailing list be used?]
Re-Tested with gcc-2.95.2 and included libstdc++ and libstdc++2.90
from the CVS:
From: joost witteveen <joostje@cistron.nl>
All I need to do to get tons of warning messages from g++ is include
rope.h
(or rope, or whatever) is this:
$ cat > r.cc
#include <rope.h>
$ g++ -Wall r.cc -o r.o
In file included from /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3/rope.h:18,
from r.cc:1:
/usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3/stl_rope.h: In method `_Rope_RopeRep<_CharT,_Alloc>::_Rope_RopeRep(_Rope_RopeRep<_CharT,_Alloc>::_Tag, int, bool, unsigned int, typename_Rope_rep_base<_CharT,_Alloc>::allocator_type)':
/usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3/stl_rope.h:390: warning: base initializer for `_Rope_rep_base<_CharT,_Alloc>'
/usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3/stl_rope.h:390: warning: will be re-ordered to precede member initializations
/usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3/stl_rope.h: In method `_Rope_RopeLeaf<_CharT,_Alloc>::_Rope_RopeLeaf(_CharT *, unsigned int, typename _Rope_rep_base<_CharT,_Alloc>::allocator_type)':
/usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3/stl_rope.h:566: warning: base initializer for `_Rope_RopeRep<_CharT,_Alloc>'
/usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3/stl_rope.h:566: warning: will be re-ordered to precede member initializations
[...]