delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/05/10:49:45

Message-ID: <393BB043.75C23C6D@softhome.net>
Date: Mon, 05 Jun 2000 16:50:59 +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
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>
Reply-To: djgpp-workers AT delorie DOT com

Eric Rudd wrote:
> According to ANSI/ISO 9899-1990, 7.1.2, paragraph 4:
> 
>      [Standard] headers may be included in any order; each may be
>      included more than once in a given scope, with no effect
>      different from being included only once...

This proves DJ's point about just making them point; however it says
nothing about that va_list issue. Try to read few paragraphs further,
where is the info about reserved identifiers in various namespaces, maybe
you'll be able to dig out something useful there.

> However, it would actually help me if DJGPP rejected code that didn't
> include all the headers specified by ANSI to be necessary.  I often have
> problems when I give my code to colleagues, who use different compilers
> and complain that I haven't included the necessary headers.

That's exactly the point I want to prove. Making that kind of code 'just work'
does not minimize FAQs, it just replaces one FAQs with others.

Laurynas

- Raw text -


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