On 9/26/2012 4:19 PM, Tom Tromey wrote:
"Florian" == Florian Weimer <fwei...@redhat.com> writes:
Florian> This patch adds support for #pragma GCC warning and #pragma GCC
Florian> error. These pragmas can be used from preprocessor macros,
Florian> unlike the existing #warning and #error directives. Library
Florian> authors can use these pragmas to add deprecation warnings to
Florian> macros they define.
I'm not sure if my libcpp review powers extend to an extension like
this.
It seems reasonable to me though.
To me too, these correspond to the Compile_Time_Warning and
Compile_Time_Error in Ada, and are definitely very useful!