Re: diagnostic message
- From: santosh <santosh.k83@xxxxxxxxx>
- Date: Fri, 01 Aug 2008 00:31:03 +0530
Richard Heathfield wrote:
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.
But do they also document the subset of their messages that are
diagnostic messages and the means to identify them from "ordinary"
messages?
Or do they take the easy way out and define the entire set of messages
as diagnostic messages?
And how about gcc? Well, kind of:
"Diagnostics consist of all the output sent to stderr by GCC." :-)
Then presumably there is no obvious way to distinguish between
diagnostic and other messages if stderr and stdout of gcc happen to
write to the same device or file. :-)
.
- Follow-Ups:
- Re: diagnostic message
- From: Richard Heathfield
- Re: diagnostic message
- From: Malcolm McLean
- Re: diagnostic message
- References:
- diagnostic message
- From: santosh
- Re: diagnostic message
- From: Richard Heathfield
- diagnostic message
- Prev by Date: Re: diagnostic message
- Next by Date: Re: free()'ing restrict'ed pointers
- Previous by thread: Re: diagnostic message
- Next by thread: Re: diagnostic message
- Index(es):
Relevant Pages
|