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__
Index: src/libpspp/bt.c
===================================================================
RCS file: /sources/pspp/pspp/src/libpspp/bt.c,v
retrieving revision 1.2
diff -r1.2 bt.c
70a71,76
#ifndef CHAR_BIT
#ifdef __WIN32__
#define CHAR_BIT 8
#endif
#endif
--
John C. McCabe-Dansted
PhD Student
University of Western Australia
_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev