Re: What happens to fopen and posix open on a GCC compiler which uses EBCDIC coding for char const[] literals????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2019/12/22 19:40, sotrdg sotrdg 写道:
> C++ 20 has this char8_t and u8string which is guarantee to be a utf-8 character string. Is it safe to just reinterpret cast char8_t const* pointer to char const*?? Clearly it is not a strict aliasing rule violation. However I am not sure whether I would get screwed by the C locale system.
> 
> 
> 

POSIX does not allow EBCDIC [1].

[1]
https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/V1_chap06.html

-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux