[New-bugs-announce] [issue41617] __builtin_bswap16 is used without checking it is supported

Joshua Root report at bugs.python.org
Sat Aug 22 21:02:47 EDT 2020


New submission from Joshua Root <josh+python at root.id.au>:

Older clang versions don't have __builtin_bswap16, but it's always used when compiling with clang, which means the build fails with those older versions. The code should use __has_builtin to check.

----------
components: Build
messages: 375806
nosy: jmr
priority: normal
severity: normal
status: open
title: __builtin_bswap16 is used without checking it is supported
type: compile error
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41617>
_______________________________________


More information about the New-bugs-announce mailing list