Solve warnings and add compatibility with clang 13
This MR solves a warning in Monitor Manager, and makes the libclang parser compatible with clang-13.
- A warning in Monitor Manager has been fixed.
- The libclang parser in "future" clang versions needs the option "-x c++" to be explicitly set. This is backwards compatible, so it has been introduced as part of this MR.
- A warning in CUDA 11.5 onwards appears whereby the
#pragma diag_suppress
has become#pragma nv_diag_suppress
. A fix is included that checks the NVCC version. - Increase CI coverage - add BUILD_TESTS+ENABLE_CONTRACTS+TREAT_WARNINGS_AS_ERRORS build (USE_ROOT disabled) @roneil
The warning had not been picked up by the current Allen CI because it is currently never tested without ROOT AND with treat_warnings_as_errors. (CC @roneil )
Edited by Daniel Hugo Campora Perez