[Bug 277958] libc: invalid internal linkage on feclearexcept

[email protected] Tue, 17 Mar 2026 20:48:02 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277958

--- Comment #5 from Konstantin Belousov <[email protected]> ---
(In reply to Dimitry Andric from comment #4)
Standard says that all functions must have external linkage, but it also
allows to have them defined differently for the compilation unit AFAIR.
This is where e.g. macros for memset() and friends come from.

What I am saying that we must export the symbol from libm, as you noted,
but keep the static inline definition as well.

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