Re: [Cocci] [v3 05/10] mmap locking API: Improving the Coccinelle software

From: Markus Elfring
Date: Mon Mar 30 2020 - 06:16:23 EST


>> â
>> (ONCE) CPP-MACRO: found known macro = FNAME
>> â
>> parse error
â
>> How would you like to improve the affected software areas?
>
> This can be addressed by adding a macro definition to standard.h.

A corresponding specification is used already.
https://github.com/coccinelle/coccinelle/blob/fdf0b68ddd0a518cc6ca64f063bc74ed54e29a7b/standard.h#L508


> But once the change is done, I don't see any reason to bother with this.

How will the support evolve for data processing around the application
of similar macros?

Regards,
Markus