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/649e3e483360
branches:  trunk
changeset: 324653:649e3e483360
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 e6d7827dde58 -r 649e3e483360 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