Message-Id: <200006061645.TAA18766@mailgw1.netvision.net.il> Date: Tue, 06 Jun 2000 19:43:49 +0200 X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" To: Hans-Bernhard Broeker CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Hans-Bernhard Broeker on Tue, 6 Jun 2000 15:09:06 +0200 (MET DST)) Subject: Re: ANSI C and stdio.h References: Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Tue, 6 Jun 2000 15:09:06 +0200 (MET DST) > From: Hans-Bernhard Broeker > > Actually, the only reason I can see for importing the definition of > va_list into is that the compiler cannot accept that header, > without it. Of course, it can. It is perfectly valid C to have an undefined data structure in a prototype of a function, as long as you don't call that function, or do some manipulations with the undefined data type. However, under a restrictive set of -Wfoo switches you could get a warning. Which is one more reason to have va_list known when stdio is included.