This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++ PATCH: vbase dtors called multiple times


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]