Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc When building gcc using clang, av...
details: https://anonhg.NetBSD.org/src/rev/c9dcc6b7fd35
branches: trunk
changeset: 790613:c9dcc6b7fd35
user: apb <apb%NetBSD.org@localhost>
date: Fri Oct 18 13:24:40 2013 +0000
description:
When building gcc using clang, avoid trying to use
__attribute__((__format__(__asm_fprintf__, ...)))
because clang doesn't support that.
diffstat:
external/gpl3/gcc/dist/gcc/output.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 77ad51486fcf -r c9dcc6b7fd35 external/gpl3/gcc/dist/gcc/output.h
--- a/external/gpl3/gcc/dist/gcc/output.h Fri Oct 18 12:29:52 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/output.h Fri Oct 18 13:24:40 2013 +0000
@@ -115,7 +115,7 @@
/* Output a string of assembler code, substituting numbers, strings
and fixed syntactic prefixes. */
-#if GCC_VERSION >= 3004
+#if GCC_VERSION >= 3004 && !defined(__clang__)
#define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
/* This is a magic identifier which allows GCC to figure out the type
of HOST_WIDE_INT for %wd specifier checks. You must issue this
Home |
Main Index |
Thread Index |
Old Index