[Bug string/33706] error: expected identifier or ‘(’ before ‘_Generic’

mengqinggang at loongson dot cn sourceware-bugzilla@sourceware.org
Wed Dec 10 10:00:05 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33706

--- Comment #3 from mengqinggang <mengqinggang at loongson dot cn> ---
(In reply to Florian Weimer from comment #1)
> I think you always had to write
> 
> extern wchar_t *(wmemchr) (const wchar_t *, wchar_t, size_t);
> 
> to prevent macro-expansion. But redeclaring standard functions like that is
> generally undefined, I think.

Thanks, it works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list