[Openmp-dev] suppress more unused-variable and unused-function warnings
Jack Howarth
howarth.mailing.lists at gmail.com
Sun Jun 7 10:22:31 PDT 2015
Jonathan,
The attached patch eliminates most of the unused-variable and
unused-function warnings during the cmake build of openmp on
x86_64-apple-darwin14. The resulting build shows no regressions in the
OpenMP3.1_Validation test suite at -m64 or -m32.
Jack
ps The remaining instances fall in three main categories...
1) instances of "warning: unused variable 'temp_val'
[-Wunused-variable]" from runtime/src/kmp_atomic.c
2) instances of "warning: unused variable '__kmp_build_check_*'
[-Wunused-variable]" from runtime/src/kmp_itt.inl,
runtime/src/kmp_itt.c, runtime/src/kmp_global.c and
runtime/src/kmp_dispatch.cpp.
3) instances of "warning: unused function '__kmp_x86_pause'
[-Wunused-function]" from runtime/src/kmp.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unused_v2.patch
Type: application/octet-stream
Size: 30266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150607/55e1ae42/attachment.obj>
More information about the Openmp-dev
mailing list