Date: Mon, 25 Mar 2024 19:29:10 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 277958] libc: invalid internal linkage on feclearexcept Message-ID: <bug-277958-99@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277958 Bug ID: 277958 Summary: libc: invalid internal linkage on feclearexcept Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: emaste@freebsd.org See https://github.com/llvm/llvm-project/pull/86320 for context > It seems FreeBSD's libc is not standard compliant. > /usr/include/fenv.h:266 > > __fenv_static inline int > feclearexcept(int __excepts) > > and __fenv_static is defined as static. This means feclearexcept has internal linkage. > This is not allowed by the C standard and C++ modules can't export named declarations > with internal linkage. So this is probably something to be fixed in FreeBSD. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277958-99>
