This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bugs with template
- To: pfrancq at ulb dot ac dot be
- Subject: Re: bugs with template
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Wed, 23 Feb 2000 22:24:36 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <38B42ADF.BF3177BC@ulb.ac.be>
> When I use the variable "nb" in a routine of class "B", the compiler
> used the global variable and not the inherit variable of class "A".
Thanks for your bug report. As I wrote in a previous message, this is
not a bug in gcc, but in your code. If you don't believe me, please
ask in one of the C++ fora, such as comp.lang.c++.moderated, or
comp.std.c++.
Thanks,
Martin