www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/26/23:50:11

Xref: news2.mv.net comp.os.msdos.djgpp:5446
From: Tom Wheeley <tomw AT tsys DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Does DJGPP conform to ANSI-C standards with the for () ?
Date: Wed, 26 Jun 96 23:37:19 GMT
Organization: City Zen FM
Lines: 24
Message-ID: <835832239snz@tsys.demon.co.uk>
References: <199606250925 DOT NAA27938 AT video DOT yars DOT free DOT net> <31D15300 DOT 129C86C6 AT laden DOT ilk DOT de>
Reply-To: tomw AT tsys DOT demon DOT co DOT uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <31D15300 DOT 129C86C6 AT laden DOT ilk DOT de>
           jae AT laden DOT ilk DOT de "Juergen Erhard" writes:

> Alexander V. Lukyanov wrote:
> > 
> > > Thus the smallest strictly conforming program is
> > >
> > > main(){}
> > 
> > No, it is not conforming. It should return something.
> I don't know nothing... but DJGPP spits out a warning only...
> so is this 'conforming' or not? While we're at it, what's 'conforming'?
> I think if the above is not conforming, it should issue an error,
> right?

No it was a mistake.  But it is the smallest _program_ which does not exhibit
undefined behaviour (in the program, not neccessarily in the OS :-)

..splitbung
-- 
* TQ 1.0 * The 'Just So Quotes'.
"Your superior intellect is no match for our puny weapons!"
    	-- THE SIMPSONS

- Raw text -


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