delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/05/12:13:55

Message-ID: <393BC449.B6CB56C@softhome.net>
Date: Mon, 05 Jun 2000 18:16:25 +0300
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.72 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Subject: Re: ANSI C and stdio.h
References: <3937DEA9 DOT 63606B27 AT softhome DOT net>
<200006021918 DOT PAA03693 AT envy DOT delorie DOT com> <393BB779 DOT DDA55FEC AT cyberoptics DOT com> <393BB043 DOT 75C23C6D AT softhome DOT net> <200006051552 DOT SAA23340 AT mailgw1 DOT netvision DOT net DOT il>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> If people want to write sloppy non-portable code, I don't think we
> need to pay the price by teaching them good C.

BTW, if user includes <stdio.h> only, from all stdarg machinery
he gets *only* va_list. No va_start, va_arg, va_end...
I cannot imagine reasonable code which would need va_list and not
those macros. And if you try to compile any code with #include
<stdio.h> only and va_start() etc., you get link time error. Bingo.
We won't create any new problems, we just move link time error to
compile time. Is this reasonable argument for making those changes?

Laurynas

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019