Subject: Re: va_list on PPC (was Re: CVS commit: syssrc/sys/arch/powerpc/include)
To: Thomas Klausner <email@example.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Date: 08/08/2002 14:18:23
In message <20020808211510.GU9613@danbala.tuwien.ac.at>Thomas Klausner writes
>Last autumn I did an audit on NetBSD for that and fixed all
>occurrences of that in the base system (and similar problems like
One trick is to define va_start() to include a hangng open-brace, and
define va_end to include a matching open brace. Compiling both with
and without this trick will catch all the missing va_end()s.
At least one pre-ansi-C Unix vendor shipped a system which did it.