Hi!

I've just updated the pkgsrc version of GNU make to 4.0. While doing
that I found an old patch that was added to the package for PCC
compatibility. It looks sane enough, perhaps you can integrate it?

Thanks,
 Thomas
$NetBSD: patch-pa,v 1.1 2009/10/30 18:20:04 ahoka Exp $

PCC says: hash.c:326: error: Constant "4294967295" is out of range

--- hash.c.orig 2006-02-11 21:00:39.000000000 +0100
+++ hash.c
@@ -323,7 +323,7 @@ round_up_2 (unsigned long n)
   n |= (n >> 8);
   n |= (n >> 16);
 
-#if !defined(HAVE_LIMITS_H) || ULONG_MAX > 4294967295
+#if !defined(HAVE_LIMITS_H) || ULONG_MAX > 4294967295ul
   /* We only need this on systems where unsigned long is >32 bits.  */
   n |= (n >> 32);
 #endif
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to