[Openmp-commits] [PATCH] D35124: remove register storage class specifier.
Ed Maste via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 7 07:04:08 PDT 2017
emaste created this revision.
Found while importing libomp into the FreeBSD base system (https://reviews.freebsd.org/D11507). Use of `register` produced warnings like:
register.cc:5:2: warning: 'register' storage class specifier is deprecated and
incompatible with C++1z [-Wdeprecated-register]
register int i;
^~~~~~~~~
The proposed FreeBSD import currently uses a hack (adding `-Dregister=` to CFLAGS). Here, just remove the deprecated keyword.
https://reviews.llvm.org/D35124
Files:
runtime/src/kmp_alloc.cpp
runtime/src/kmp_barrier.cpp
runtime/src/kmp_dispatch.cpp
runtime/src/kmp_lock.cpp
runtime/src/kmp_sched.cpp
runtime/src/thirdparty/ittnotify/ittnotify_static.c
runtime/src/z_Windows_NT_util.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35124.105635.patch
Type: text/x-patch
Size: 27683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170707/5696b3a6/attachment-0001.bin>
More information about the Openmp-commits
mailing list