libstdc++2.10-dev: warning: base init. will be reordered, when just including "rope.h"
Matthias Klose
doko@cs.tu-berlin.de
Fri Nov 5 04:02:00 GMT 1999
[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
[...]
More information about the Gcc-bugs
mailing list