This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Add #pragma message ... to gcc/g++
Ben Elliston wrote:
Hi Simon
This patch adds '#pragma message ...' to gcc. This pragma is currently
present in both ICC and MSVC, but not gcc, and the feature is occasionally
requested by gcc users.
I see you documented this in extend.texi, but where is the ChangeLog
entry for it?
Ralph kindly pointed out this omission a couple of days ago, so I added
extra ChangeLog for extend.texi in the revised patch sent out yesterday:
gcc/ChangeLog:
2008-07-21 Simon Baldwin <simonb@google.com>
* c-pragma.c (handle_pragma_message): New function.
(init_pragma): Register handle_pragma_message.
* doc/extend.texi (Diagnostic Pragmas): Added #pragma message
documentation.
Thanks. --S