[Bug 273338] '#include <cmath>' fails on 14 because of a likely bug with error: expected unqualified-id
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Aug 2023 07:46:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273338 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) == 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. -- You are receiving this mail because: You are the assignee for the bug.