Hi, I was looking at the m4 macrology in mpn/asm-defs.m4 (to borrow some of it to Nettle). But the error machinery is not working the way I expect. E.g., m4_length is defined using m4_assert_onearg(). But if I try using it with an incorrect number of arguments, I get no error:
$ echo 'm4_length(foo)' | m4 mpn/asm-defs.m4 - 3 $ echo 'm4_length(foo, bar)' | m4 mpn/asm-defs.m4 - 3 $ echo $? 0 Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs