I installed the following to work around a build failure of coreutils
CVS on OpenBSD 3.4. (For now I have resisted the temptation to enable
__attribute__ only for GCC 4.0 and later. :-)
2005-09-24 Paul Eggert <[EMAIL PROTECTED]>
* regex_internal.h (__attribute): Define to nothing for GCC 2.
This works around a core dump on OpenBSD 3.4, which has GCC
2.95.3, which dumps core when given __attribute__(()).
--- lib/regex_internal.h 23 Sep 2005 04:15:13 -0000 1.17
+++ lib/regex_internal.h 24 Sep 2005 23:01:17 -0000 1.18
@@ -131,7 +131,7 @@
# define attribute_hidden
#endif /* not _LIBC */
-#ifdef __GNUC__
+#if __GNUC__ >= 3
# define __attribute(arg) __attribute__ (arg)
#else
# define __attribute(arg)
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils