Date: Wed, 13 Jul 2022 04:19:14 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 265181] Strange C++ error on armv6: it can't implicitly convert integer to float Message-ID: <bug-265181-29464-yP68xdUfmi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265181-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-265181-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265181 --- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #1) Since I referenced "7.4" material explicitly, I should have reported that I used: INCITS/ISO/IEC 14882:2020 (2021) as my language reference. I do not expect that any language properties that I used are specific to anything that new for the C++ vintage. For example, ISO/IEC 14882:2011 also deals with "if either operand is float" for "the usual arithmetic conversions" before involving integral promotions and the rules that apply to the results of the integral promotions. Thus still float & float results. The & still requires integral or unscoped enumeration operands. --=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-29464-yP68xdUfmi>