Parcourir la source

-Wdeprecated-copy is clang 13+ and was triggering warnings on earlier clang versions (#635)

Jorrit Rouwe il y a 2 ans
Parent
commit
fd4274ea3e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Jolt/Core/Core.h

+ 1 - 1
Jolt/Core/Core.h

@@ -263,7 +263,7 @@
 	JPH_CLANG_SUPPRESS_WARNING("-Wgnu-zero-variadic-macro-arguments")							\
 	JPH_CLANG_SUPPRESS_WARNING("-Wdocumentation-unknown-command")								\
 	JPH_CLANG_SUPPRESS_WARNING("-Wctad-maybe-unsupported")										\
-	JPH_CLANG_SUPPRESS_WARNING("-Wdeprecated-copy")												\
+	JPH_CLANG_13_PLUS_SUPPRESS_WARNING("-Wdeprecated-copy")										\
 	JPH_CLANG_13_PLUS_SUPPRESS_WARNING("-Wdeprecated-copy-with-dtor")							\
 	JPH_IF_NOT_ANDROID(JPH_CLANG_SUPPRESS_WARNING("-Wimplicit-int-float-conversion"))			\
 																								\