Subject: Re: 1.5.1_ALPHA vs stdarg.h
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-userlevel
Date: 01/30/2001 11:09:43
On Tue, 30 Jan 2001, der Mouse wrote:
: I tried to update one of my tools on cvs.netbsd.org today and found
: that this
:
: static void panic(const char *fmt, ...)
: {
: va_list ap;
:
: va_start(ap,fmt);
:
: runs afoul of -Wcast-qual, thereby making proper const poisoning
: difficult-to-impossible to do in the presence of stdarg functions.
: Surely this is Not Good...?
And which platform is this? (stdarg.h uses gccisms on some platforms, and
is implemented Very Strangely on some.)
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/