Problem: Deprecation warning causes build failure.
Solution: Suppress deprecation warning. (closes #11503)
# define CODEC_ERROR_HANDLER NULL
#endif
+// Suppress Python 3.11 depreciations to see useful warnings
+#if defined(__clang__) && defined(__clang_major__) && __clang_major__ > 11
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
// Python 3 does not support CObjects, always use Capsules
#define PY_USE_CAPSULE
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 832,
/**/
831,
/**/