[Developers] Re: [Patches] Make cpp.pl warn for empty macro arguments

Tom Goodale goodale at cct.lsu.edu
Tue Dec 13 10:14:47 CST 2005


Applied.  Thanks for doing this Erik.

On Fri, 7 Oct 2005, Erik Schnetter wrote:

> Make cpp.pl warn if there are empty macro arguments.  That is, given
>
> #define M2(a,b)
>
> warn about the uses M2(x,) or M2(,y) or M2(,).
>
> The empty arguments are still handled correctly.  These warnings are only to 
> make it easier to port to systems where the system cpp does not handle empty 
> arguments and where one does not want to use the perl cpp instead.
>
> -erik
>
>



More information about the Developers mailing list