[cfe-dev] #error and #warning: why include "#error/#warning" in the diagnostic?

Chandler Carruth chandlerc at google.com
Wed Feb 1 09:10:20 PST 2012


On Wed, Feb 1, 2012 at 8:57 AM, Douglas Gregor <dgregor at apple.com> wrote:

> My suggestion is to never include the #error or #warning, nor any text to
> explicitly stating that this diagnostic comes from a #warning or #error.


FWIW, at outset I was merely in the "nice to have" camp. Doug's arguments
converted me easily to the "never include this extra text" side of things.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120201/62c891c3/attachment.html>


More information about the cfe-dev mailing list