🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2124

When a compiler must choke

#2124
From: Peter van der Linden
Date: Wed, 14 Oct 1992 17:46
18 lines
1228 bytes
Section 2.1.1.3 of the ANSI C standard sayeth:
       "A conforming implementation shall produce [a] ... diagnostic message
        ... for every translation unit that contains a violation of any syntax
        rule or constraint.   Diagnostic messages need not be produced in 
        other circumstances."

By "syntax rule or constraint", is the standard referring only to the
information contained in its paragraphs headed "Syntax" and "Constraints"?

So, for example, if a program violates something specified only in a 
paragraph headed "Implementation limits" or "Semantics", a conforming 
implementation is not *obliged* to emit a diagnostic message?

--

Peter van der Linden     linden@eng    415 336-6206

Donner Party, your table for 24 -- uh, 23 -- uh 22, is ready.
Technical Details
Message-ID: <ldon82INN7j@exodus.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!male.EBay.Sun.COM!jethro.Corp.Sun.COM!exodus.Eng.Sun.COM!positive.Eng.Sun.COM!linden

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!male.EBay.Sun.COM!jethro.Corp.Sun.COM!exodus.Eng.Sun.COM!positive.Eng.Sun.COM!linden
From: linden@positive.Eng.Sun.COM (Peter van der Linden)
Newsgroups: comp.std.c
Subject: When a compiler must choke
Date: 14 Oct 1992 17:46:42 GMT
Organization: Sun Microsystems, Mt. View, Ca.
Lines: 18
Message-ID: <ldon82INN7j@exodus.Eng.Sun.COM>
NNTP-Posting-Host: positive