Fix warnings issued by clang with nvcc
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 30 Sep 2020 10:29:20 +0000 (12:29 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Wed, 30 Sep 2020 12:04:47 +0000 (12:04 +0000)
commit3abfca45a4d62c46246288405ba9c02ef117df31
tree0d6745320db825bd34a251bbbf8d179055c3f05e
parent8f375e367b527a2021e0ffe7d2b5912db72c224a
Fix warnings issued by clang with nvcc

Host-side code sometimes uses antiquated code that clang warns
about. Previous attempts to suppress some of these were broken by the
changes to GMX_GPU (and also used the wrong cache variable). New
warnings have also emerged.

Also fixed a related list of warning suppressions to be a proper
CMake list, rather than a hacky list.
cmake/gmxCFlags.cmake
cmake/gmxManageNvccConfig.cmake
src/CMakeLists.txt