On 19 August 2016 at 18:29, David Malcolm wrote:
> On Fri, 2016-08-19 at 14:15 +0530, Prathamesh Kulkarni wrote:
>> Hi David,
>> This trivial patch appends "evaluates to 0", in Wundef diagnostic,
>> similar to clang, which prints the following diagnostic for undefined
>> macro:
>> undef.c:1:5: war
On Fri, 2016-08-19 at 14:15 +0530, Prathamesh Kulkarni wrote:
> Hi David,
> This trivial patch appends "evaluates to 0", in Wundef diagnostic,
> similar to clang, which prints the following diagnostic for undefined
> macro:
> undef.c:1:5: warning: 'FOO' is not defined, evaluates to 0 [-Wundef]
> #i
Hi David,
This trivial patch appends "evaluates to 0", in Wundef diagnostic,
similar to clang, which prints the following diagnostic for undefined macro:
undef.c:1:5: warning: 'FOO' is not defined, evaluates to 0 [-Wundef]
#if FOO
^
Bootstrapped+tested on x86_64-unknown-linux-gnu.
OK to commit