|
From: | Paul Eggert |
Subject: | Re: Subtle error defining VALMASK? |
Date: | Wed, 10 Sep 2014 09:54:52 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Dmitry Antipov wrote:
fprintf (stderr, "0x%lx 0x%lx\n", VALMASK, VAL_MAX);
That's not a problem with the #define; it's a problem with the enum. It's simpler to omit the enum, so I did that in trunk bzr 117854.
For portability that format string should be "0x%"pI"x 0x%"pI"x\n".
[Prev in Thread] | Current Thread | [Next in Thread] |