Preprocessor keyword #echo is missing

Zack Weinberg zack@codesourcery.com
Tue Feb 11 18:14:00 GMT 2003


"J. Grant" <jg-web@jguk.org> writes:

>> Frankly I do not consider the elimination of that extra text to be
>> sufficient justification for adding another directive.  You can do
>> gcc ... 2>&1 | sed -e 's/warning: #warning //' if it really bugs you.
>
> I am using this currently, an #echo solution would be a better way to
> resolve this though.

I honestly do not see why you think that.

Note that even #warning is an extension, and has been controversial.

> OK, well would you consider that #echo would be a useful addition to
> the GCC preprocessor language?  I personally do and I can not believe
> I am the only one who sees this gap that needs filling.

Sorry, but I do not see a need.

zw



More information about the Gcc-bugs mailing list