"John McCabe-Dansted" <[EMAIL PROTECTED]> writes:

> I got this compile error
>
> src/libpspp/bt.c: In function `count_leading_zeros':
> src/libpspp/bt.c:604: error: `CHAR_BIT' undeclared (first use in this
> function) src/libpspp/bt.c:604: error: (Each undeclared identifier is
> reported only once  src/libpspp/bt.c:604: error: for each function it
> appears in.)
> src/libpspp/bt.c: In function `floor_log2':
>         src/libpspp/bt.c:625: error: `CHAR_BIT' undeclared (first use
> in this function)
>
> I think that CHAR_BIT is meant to be defined to 8 on __WIN32__

I think that file just needs an #include <limits.h>.  I checked
in that change, can you verify that it fixes the problem?
-- 
"I knew it was a bad sign when I drove through Hell (MI) on Wednesday
and there was snow on the ground and all the standing water had a
layer of ice on the surface...  Yes folks, Hell has frozen over
and my cable modem *still* wasn't working..." --Ed Glowacki


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to