Patch to add missing calls to va_end()

Michael Meissner meissner@cygnus.com
Thu Sep 30 23:58:00 GMT 1999


On Sat, Sep 25, 1999 at 01:07:02PM -0600, Jeffrey A Law wrote:
>   In message < 199909251413.KAA15563@caip.rutgers.edu >you write:
>   > I guess most (all?) platforms define va_end as a nop, so it probably
>   > doesn't matter, but still...
> I believe that is correct.
> 
> 
>   > PS: anyone know of a system where va_end *isn't* a nop?
> Not offhand.  I've never seen one.

I don't know if it still does it, but one of the vendors during the original
ANSI C meetings mentioned about a compiler that used an open '{' in va_start,
defined some variables, and added a close '}' in va_end.

-- 
Michael Meissner, Cygnus Solutions
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886
email: meissner@cygnus.com	phone: 978-486-9304	fax: 978-692-4482



More information about the Gcc-patches mailing list