This is the mail archive of the
mailing list for the GCC project.
980308: template instantiation failure
- To: egcs-bugs at cygnus dot com
- Subject: 980308: template instantiation failure
- From: Ingolf Koch <ingolf at mathematik dot uni-jena dot de>
- Date: Mon, 9 Mar 1998 14:24:53 +0100 (MET)
unfortunately, the program I mailed to the list on
980213 (ID 199802131510.QAA06653@maxp09.mathe.uni-jena.de)
still triggers the bug in g++ (see also my followup
of 980219 (ID 199802191034.AA06107@paxp01.mipool.uni-jena.de)
which is still valid).
The problem is, that the compiler thinks that the
"version" member in "derived_algo" is already
initialized when a second object of the "derived_algo"
class template (with different template parameter) is
I did not succeed in substantially decreasing the
program's size (besides changing class names etc), so
I believe that it is nearly minimal.
I'd appreciate if some C++ expert could tell me if
this is really a compiler bug or if my code is wrong.
In the former case, please tell me how I can help
fixing this (I do not have knowledge about g++ internals).
Ingolf Koch http://www.minet.uni-jena.de/~ingolf/
FSU Jena, Institut fuer Angewandte Mathematik, 07740 Jena