stdatomic.h uses undefined type (___wchar_t)

Daniel Kowalski dkowalski@n7space.com
Fri May 15 17:17:43 GMT 2026


Hello,

I have question regarding fairly recent change in newlib's stdatomic.h (Copied from FreeBSD sources as far as I understand)

Change itself looks good, but one of the types (___wchar_t, with triple underscore) does not exist anywhere in newlib sources. FreeBSD defines it in their _types.h header. 

Is this simple oversight and extra underscore should be dropped or part of some larger change that wasn't fully commited and this type is supposed to be defined?

change in question:
https://sourceware.org/git/?p=newlib-cygwin.git;a=blobdiff;f=newlib/libc/include/stdatomic.h;h=67107f47e6b3807b6c50de9328fce71b87b7b280;hp=204d11133170445ddd48b578a9176852014a3039;hb=e4fbaa9ea1dcc53afdd654213903e85b186c9220;hpb=09e6aec0a0b361f40fc2b528aff8b18cb2a1745a

Best regards/Pozdrawiam
Daniel Kowalski
Software Engineer
N7 Space Sp. z o.o.
https://n7space.com
 
https://bootloader.space
https://canopen.space



More information about the Newlib mailing list