On 10 April 2017 at 18:26, Richard Henderson <r...@twiddle.net> wrote:
> On 04/09/2017 11:06 PM, Nikunj A Dadhania wrote:
>> --- a/cpus.c
>> +++ b/cpus.c
>> @@ -202,7 +202,7 @@ void qemu_tcg_configure(QemuOpts *opts, Error **errp)
>>              } else if (use_icount) {
>>                  error_setg(errp, "No MTTCG when icount is enabled");
>>              } else {
>> -#ifndef TARGET_SUPPORT_MTTCG
>> +#ifndef TARGET_SUPPORTS_MTTCG
>
>
> This sort of thing is why glibc moved to using -Wundef.
>
> It would be a huge amount of work to convert our existing sources, but it
> would probably pay off in the long run.

We already build with -Wundef...

thanks
-- PMM

Reply via email to