[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils-7.1 requires trivial patch to build on IRIX/MIPSpro
From: |
Stuart Shelton |
Subject: |
coreutils-7.1 requires trivial patch to build on IRIX/MIPSpro |
Date: |
Thu, 26 Feb 2009 12:37:39 +0000 |
User-agent: |
Thunderbird 2.0.0.19 (Windows/20081209) |
The MIPSpro compiler is strict with variadic macros, requiring a macro
defined as function(x,...) to be invoked with a minimum of two arguments
(one for 'x', and at least one for the '...')
coreutils-7.1 therefore requires this patch:
--- lib/argv-iter.h.dist 2009-02-25 17:06:43.143228800 +0000
+++ lib/argv-iter.h 2009-02-25 17:06:50.654736800 +0000
@@ -24,7 +24,7 @@
#if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__
# define _ATTRIBUTE_NONNULL_(m,...) __attribute__ ((__nonnull__ (m)))
#else
-# define _ATTRIBUTE_NONNULL_(m,...)
+# define _ATTRIBUTE_NONNULL_(...)
#endif
enum argv_iter_err
- coreutils-7.1 requires trivial patch to build on IRIX/MIPSpro,
Stuart Shelton <=