Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2022 02:06:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265181] Strange C++ error on armv6: it can't implicitly convert integer to float
Message-ID:  <bug-265181-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265181

            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) =3D 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/l=
ogs/zita-alsa-pcmi-0.4.0.log

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265181-227>