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




_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to