<div>The name Remarks is OK for me.</div><div>I see one of the uses of this in for the output of progress information, for example, to report which file is being compiled as VS does. However it can be seen as a general output facility that uses diagnostic instead of writing to the stdout.</div>
<div>Therefore I think that this kind of diagnostic unlike errors, warnings or notes should be output by existing clients with minimal</div><div>formatting (without prepending "remark: " or whatever, only the location if it is specified).</div>
<div>For the same reason I'd say that it shouldn't be counted in the diagnostic count and should be never turned into</div><div>errors with -Werror.</div><div>Does it make sense?</div><div><br></div><div>Victor</div>
<br><div class="gmail_quote">2009/11/20 Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Nov 20, 2009, at 1:11 AM, Victor Zverovich wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am actively using the clang's Basic library in my project and in particular its diagnostic part which is great.<br>
However it has the following limitation: it is not possible to report an "informational" message which is neither warning nor error through it. While clang doesn't need this functionality it may be useful for other users (me being one of them :)) without any overhead for clang. The attached patch introduces the Info diagnostic level.<br>

</blockquote>
<br>
<br></div>
I'm okay with adding another diagnostic level. Some other compilers have "remarks"; I'd slightly prefer that name over "info". However, to include your patch in Clang we need to fully integrate this new kind of diagnostic. In addition to adding an enumerator to Level, we need to answer a few questions:<br>

<br>
  - How do all of the existing diagnostic clients format infos/remarks?<br>
  - Are infos/remarks counted in the diagnostic count?<br>
  - How do infos/remarks behave w.r.t. -Werror?<br>
<br>
        - Doug<br>
</blockquote></div><br>