According to Daniel Richard G. on 5/25/2007 8:34 PM: > The (u)intmax_t bit in revision 1.109 of modules/m4.c broke the build for > me. > > .../m4/modules/m4.c:103: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'number' > .../m4/modules/m4.c:104: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'unumber' > .../m4/modules/m4.c:111: error: expected ')' before 'value' > [...many, many many more errors] > > modules/m4.c is not pulling in gnu/stdint.h in its header tree. Adding > "#include <gnu/stdint.h>" to $builddir/m4/system.h fixed the problem for > me.
Thanks for the report. Obviously cygwin's headers are a bit leaky in their namespace, to get intmax_t from somewhere else. I'm checking this in: 2007-05-25 Eric Blake <[EMAIL PROTECTED]> * m4/system_.h: Include <stdint.h>, for intmax_t. * THANKS: Update. Reported by Daniel Richard G. Index: m4/system_.h =================================================================== RCS file: /sources/m4/m4/m4/system_.h,v retrieving revision 1.21 diff -u -p -r1.21 system_.h --- m4/system_.h 2 Apr 2007 12:06:23 -0000 1.21 +++ m4/system_.h 26 May 2007 02:46:23 -0000 @@ -35,6 +35,7 @@ #include <ctype.h> #include <errno.h> #include <limits.h> +#include <stdint.h> #include <sys/types.h> #include <sys/stat.h> -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] _______________________________________________ M4-discuss mailing list M4-discuss@gnu.org http://lists.gnu.org/mailman/listinfo/m4-discuss