This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++ PATCH: vbase dtors called multiple times
- To: vonbrand at sleipnir dot valparaiso dot cl
- Subject: Re: c++ PATCH: vbase dtors called multiple times
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 2 May 2000 10:51:39 +0200
- CC: snyder at fnal dot gov, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <200005011445.e41Eica01993@sleipnir.valparaiso.cl>
> AFAIKS, this is illegal: The stdarg.h mechanism needs at least one known
> arg to get a hold of the argument list. Or am I off-base here?
From a language conformance point of view, you are right. However, I
believe this is a common extension, and supported by the <vararg.h>
header (which is non-standard, but predates the standard by decades).
Regards,
Martin