Logo Search packages:      
Sourcecode: gcc-2.95 version File versions

bug-46444.cc

/*
From: joost witteveen <joostje@cistron.nl>
To: submit@bugs.debian.org
Subject: Bug#46444: libstdc++2.10-dev: warning: base init. will be reordered, when just including "rope.h"
Date: Sat, 2 Oct 1999 11:22:46 +0200

Package: libstdc++2.10-dev
Version: 1:2.95.2-0pre2
Severity: normal

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
[...]
*/

Generated by  Doxygen 1.6.0   Back to index