named diversions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello again,
In my m4 project where I use autom4te and m4sugar (for those who are curious - https://github.com/matejak/d8 ),
in order to be able to output anything, one has to call
m4_divert_push(1) (or something similar) at certain point. However, every time I do that, I get the
warning: prefer named diversions
warning. I know that I can use m4_divert_push(KILL) in place of m4_divert_push(0), but a trivial diversion e.g. for stdout is not available (or documented). There is also a lack of documentation on how to register a named diversion, using a macro instead of a number isn't the right way how to make a named diversion. Do you have any solution to this in mind? Telling autom4te to suppress warnings doesn't feel right.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux