Some prior art re diagnostics detection and handling

Rex Jaeschke rex at RexJaeschke.com
Fri Nov 16 23:11:46 CET 2012


As discussed on the telcon today:

 

 

>From 9899:2011 (C Language Standard)

 

5.1.1.3 Diagnostics

1 A conforming implementation shall produce at least one diagnostic message
(identified in

an implementation-defined manner) if a preprocessing translation unit or
translation unit

contains a violation of any syntax rule or constraint, even if the behavior
is also explicitly

specified as undefined or implementation-defined. Diagnostic messages need
not be

produced in other circumstances. Footnote 9)

 

Footnote 9) The intent is that an implementation should identify the nature
of, and where possible localize, each

violation. Of course, an implementation is free to produce any number of
diagnostics as long as a

valid program is still correctly translated. It may also successfully
translate an invalid program.

 

Rex

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20121116/895b5940/attachment.htm>


More information about the sc34wg4 mailing list