This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
(C++) Crash while printing a warning
- To: gcc-bugs at gcc dot gnu dot org
- Subject: (C++) Crash while printing a warning
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 24 May 2000 13:06:26 +0200 (MET DST)
- cc: Wolfgang Faber <faber at dbai dot tuwien dot ac dot at>
When I compile the following snippet:
struct Binding {
unsigned varValue;
bool isVariable;
Binding() : isVariable(true), varValue(0) {}
};
with -Wall and the current CVS sources of GCC on sparc-sun-solaris2.6,
I get the following error message:
x.cc:5: sorry, not implemented: `tree_list' not supported by dump_decl
x.cc: In method `Binding::Binding ()':
ďa :-279181632: warning: member initializers for `{declaration error}'
x.cc:2: warning: and `unsigned int Binding::varValue'
x.cc:5: warning: will be re-ordered to match declaration order
(I wrote "crash", as compilation does not proceed after that.)
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/