Re: diagnostic message
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 18:59:43 +0000
santosh said:
We are given the definition of a "diagnostic message" in 3.10 of the
Standard. To quote:
3.10
1 diagnostic message
message belonging to an implementation-defined subset of the
implementation's message output
Unless I'm mistaken, (which I probably am), the definition clearly
implies that each conforming implementation must clearly distinguish
diagnostic messages from their total set of messages, and moreover
document this.
Do existing major implementations actually do this?
Yes.
I don't think they
follow the letter of the Standard in this regard.
Borland does. Microsoft does. And how about gcc? Well, kind of:
"Diagnostics consist of all the output sent to stderr by GCC." :-)
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- Follow-Ups:
- Re: diagnostic message
- From: santosh
- Re: diagnostic message
- References:
- diagnostic message
- From: santosh
- diagnostic message
- Prev by Date: Re: free()'ing restrict'ed pointers
- Next by Date: Re: diagnostic message
- Previous by thread: diagnostic message
- Next by thread: Re: diagnostic message
- Index(es):
Relevant Pages
|