Jim Meyering <[EMAIL PROTECTED]> wrote:
> Technically, yes, but that would prohibit applying that macro
> to variables, which is useful.  Currently there are uses like
> that in the coreutils.

Ah - well, it's easy enough to factor, so you'd have to specify the
signedness explicitly for variables, but it would be automatically
detected for types.
#define INT_STRLEN_BOUND_VAR(t, signedness) ...
#define INT_STRLEN_BOUND_TYPE(t) INT_STRLEN_BOUND_VAR(t, TYPE_SIGNED(t))


paul


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to