m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS build breakage


From: Eric Blake
Subject: Re: CVS build breakage
Date: Fri, 25 May 2007 20:46:53 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

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  <address@hidden>

        * 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             address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]