Fix few issues with open-source Intel LLVM (Clang 13)
authorAndrey Alekseenko <al42and@gmail.com>
Wed, 11 Aug 2021 16:22:05 +0000 (19:22 +0300)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 11 Aug 2021 16:22:05 +0000 (19:22 +0300)
commit3cabfa0dfc3e13e91c2b3ad32577b560c76ce02c
tree13f0775145c02d72d91f6199db3d313a6e81060e
parentdfba70955d887fcdc6e231808c3ffb925044dab2
Fix few issues with open-source Intel LLVM (Clang 13)

- Add -Wno-reserved-identifier to avoid false-positive with _real
  user-defined literal (https://bugs.llvm.org/show_bug.cgi?id=50644).
- Change the alignment-checking code to avoid "warning: performing
  pointer subtraction with a null pointer may have undefined behavior".
- Update some comments about SYCL version quirks.

There are some deprecation warnings related to SYCL naming being brought
into agreement with the final SYCL2020 standard, but those will be fixed
once they appear in any official release.
cmake/gmxCFlags.cmake
src/gromacs/fileio/md5.cpp
src/gromacs/gpu_utils/gmxsycl.h