Skip to content

Commit 40e72eb

Browse files
Scottcjnclaude
andcommitted
Add -Wno-return-type for upstream HACL control-flow warning
Upstream HACL* Hacl_Hash_Blake2s_Simd128.c has a 'control reaches end of non-void function' warning at line 1297 that GCC treats as error. This is an upstream HACL code issue (missing return in info function), not a PowerPC-specific problem. Suppress it until upstream fixes it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f8e620a commit 40e72eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8133,7 +8133,7 @@ then
81338133
dnl x86 SSE not available; check for PowerPC AltiVec/VSX (Power8+).
81348134
dnl HACL* libintvector.h has a complete vec128 implementation for __powerpc64__.
81358135
AX_CHECK_COMPILE_FLAG([-maltivec -mvsx],[
8136-
[LIBHACL_SIMD128_FLAGS="-maltivec -mvsx -flax-vector-conversions"]
8136+
[LIBHACL_SIMD128_FLAGS="-maltivec -mvsx -flax-vector-conversions -Wno-return-type"]
81378137
81388138
AC_DEFINE([_Py_HACL_CAN_COMPILE_VEC128], [1], [
81398139
HACL* library can compile SIMD128 implementations])

0 commit comments

Comments
 (0)