[Bug 265181] Strange C++ error on armv6: it can't implicitly convert integer to float
Date: Wed, 13 Jul 2022 02:06:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265181
Bug ID: 265181
Summary: Strange C++ error on armv6: it can't implicitly
convert integer to float
Product: Base System
Version: 13.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: yuri@freebsd.org
The port audio/zita-alsa-pcmi fails on armv6 with this error:
> zita-alsa-pcmi.cc:994:28: error: invalid operands to binary expression ('float' and 'unsigned int')
> *((float *) dst) = bswap_32 (d);
^~~~~~~~~~~~
This is strange in general because integer should always be convertible to
float.
Is this a clang bug?
Log:
http://beefy8.nyi.freebsd.org/data/130releng-armv6-quarterly/3dc475798ba8/logs/zita-alsa-pcmi-0.4.0.log
--
You are receiving this mail because:
You are the assignee for the bug.