Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2023 07:46:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 273338] '#include <cmath>' fails on 14 because of a likely bug with error: expected unqualified-id
Message-ID:  <bug-273338-29464-jVAiiPOTAR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273338-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273338-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=3D273338

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
The messages indicate that the syntax after substitution of
the macro is wrong. Showing just the part of the text that
you provided but after substitution:

return std::(sizeof(x) =3D=3D sizeof(long double) ? isnan_ld (x)

(Not shown is what was on the line(s) after \ so I've only a
prefix of the text to work with.)


mps/types.h is using a macro isnan to override the libc++
definition, producing something that is invalid C++ source
code from what was valid C++ source without the macro
definition.

--=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-273338-29464-jVAiiPOTAR>