Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!hoptoad!gnu From: gnu@hoptoad.uucp (John Gilmore) Newsgroups: comp.std.c Subject: Re: Is va_list defined by ? Message-ID: <16965@hoptoad.uucp> Date: 9 Apr 91 23:09:25 GMT References: <16863@hoptoad.uucp> <11852@dog.ee.lbl.gov> Organization: Cygnus Support, Palo Alto Lines: 31 Thanks, Chris, for your useful response. My confusion lie in the fact that __VA_LIST__ is not #undef'd after use in , like all the other names defined in . I had a case where the user had included #include #include and the compile was failing because __VA_LIST__ was undefined in stdio.h. Either the conventions for the use of each name in should be documented, or this unusual usage of __VA_LIST__ should be changed to match all the rest, and perhaps a new __VA_LIST_STICKY__ introduced for to depend on. torek@elf.ee.lbl.gov (Chris Torek) wrote: > This introduces two new problems: is now machine dependent > (an otherwise-unnecessary situation), and and must > somehow be kept in sync. I believe that ANSI C should not have forced us to introduce these two new problems. In other words, this is a botch in the standard, that should be fixed in its next revision. Preferably the fix will simply permit to define va_list, or indeed, for it to include , so that no backdoor monkeyshines at all would be needed. -- John Gilmore {sun,uunet,pyramid}!hoptoad!gnu gnu@toad.com gnu@cygnus.com * Truth : the most deadly weapon ever discovered by humanity. Capable of * * destroying entire perceptual sets, cultures, and realities. Outlawed by * * all governments everywhere. Possession is normally punishable by death. * * ..{amdahl|decwrl|octopus|pyramid|ucbvax}!avsd!childers@tycho *