Hi!

I just tried updating to make-3.82 (from 3.81), and it turned out, that i have 
a build related problem: uintmax_t is defined in stdint.h here, and not in 
inttypes.h. configure does seem to check stdint.h too, but make.h does not 
include it. Additionally, to complicate things, inttypes.h _is_ there, but 
seemingly broken, so it does not define the type.

attached patch fixed the problem for me, although i'm not sure about random 
platform breakage ;) i do apply the patch on multiple platforms now, but i have 
no feedback yet.

any comments on the patch? can you apply it?

Thanks in advance,
Regards, markus
diff -ru -x '*.Po' -x '*.Plo' make-3.82.orig/make.h make-3.82/make.h
--- make-3.82.orig/make.h	2011-01-20 08:05:34 +0100
+++ make-3.82/make.h	2011-01-20 08:08:26 +0100
@@ -246,7 +246,9 @@
 #endif  /* !ANSI_STRING.  */
 #undef  ANSI_STRING
 
-#if HAVE_INTTYPES_H
+#if HAVE_STDINT_H
+# include <stdint.h>
+#elif HAVE_INTTYPES_H
 # include <inttypes.h>
 #endif
 #define FILE_TIMESTAMP uintmax_t
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to