From 414544c9aab50bb86fd1d3c78a8f082a4641ec7d Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 7 Jul 2017 21:06:05 +0000 Subject: remove deprecated register storage class specifier While importing libomp into the FreeBSD base system we encountered Clang warnings that "'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register]". Differential Revision: https://reviews.llvm.org/D35124 llvm-svn: 307441 --- openmp/runtime/src/z_Windows_NT_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openmp/runtime/src/z_Windows_NT_util.cpp') diff --git a/openmp/runtime/src/z_Windows_NT_util.cpp b/openmp/runtime/src/z_Windows_NT_util.cpp index 4854d9dbcce..49295a573ea 100644 --- a/openmp/runtime/src/z_Windows_NT_util.cpp +++ b/openmp/runtime/src/z_Windows_NT_util.cpp @@ -1232,7 +1232,7 @@ static void __kmp_reap_common(kmp_info_t *th) { // TODO: This code is very similar to KMP_WAIT_YIELD. Need to generalize // KMP_WAIT_YIELD to cover this usage also. void *obj = NULL; - register kmp_uint32 spins; + kmp_uint32 spins; #if USE_ITT_BUILD KMP_FSYNC_SPIN_INIT(obj, (void *)&th->th.th_info.ds.ds_alive); #endif /* USE_ITT_BUILD */ -- cgit v1.2.3