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/libiberty clang does not like auto in...
details:   https://anonhg.NetBSD.org/src/rev/52b7757d1b10
branches:  trunk
changeset: 991454:52b7757d1b10
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 14 23:41:43 2018 +0000
description:
clang does not like auto in c++
diffstat:
 external/gpl3/gcc/dist/libiberty/alloca.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r bbe9b626fb65 -r 52b7757d1b10 external/gpl3/gcc/dist/libiberty/alloca.c
--- a/external/gpl3/gcc/dist/libiberty/alloca.c Sat Jul 14 23:40:19 2018 +0000
+++ b/external/gpl3/gcc/dist/libiberty/alloca.c Sat Jul 14 23:41:43 2018 +0000
@@ -161,7 +161,7 @@
 PTR
 C_alloca (size_t size)
 {
-  auto char probe;             /* Probes stack depth: */
+  char probe;          /* Probes stack depth: */
   register char *depth = ADDRESS_FUNCTION (probe);
 
 #if STACK_DIRECTION == 0
Home |
Main Index |
Thread Index |
Old Index