Skip to content

Commit

Permalink
try warning supress
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde committed May 14, 2024
1 parent 8dd925a commit 151571c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/Khaos/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#ifndef KHAOS_VERSION_H_
#define KHAOS_VERSION_H_

#if defined(__clang__)
#pragma clang diagnostic push
#endif

/*!
* \file Version.h
* \brief Define macros to set, get versions.
Expand Down Expand Up @@ -81,4 +85,9 @@
*/
#define GET_VERSION_TWEAK(name) (((KHAOS_DEFINE_##name##_VERSION_PRIVATE()) * 1ULL) % (1 << 16)) /* //NOSONAR */

#if defined(__clang__)
#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
#pragma clang diagnostic pop
#endif

#endif /* KHAOS_VERSION_H_ */

0 comments on commit 151571c

Please sign in to comment.