Devang Patel <[EMAIL PROTECTED]> writes: | Tom Tromey wrote: | > * Why put the optimization diary into the object file? | > Why not just have -Wdiary and print it along with all the warnings? | > (I'm sure there's an answer to this, it would just be nice if it | > were in the document...) | > | These are not warnings and they should not cause build failures | when -Werror is used, hence warnings are not suitable medium to | communicate this info.
The diagnostic machinery has the "note" diagnostic kind; and the diagnostic can have customized prefixes, e.g. "note: ". -- Gaby