public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* I absolutely despise the whole -fexec-charset and locale garbage.
@ 2020-11-18 18:31 sotrdg sotrdg
  2020-11-19  6:33 ` Liu Hao
  0 siblings, 1 reply; 3+ messages in thread
From: sotrdg sotrdg @ 2020-11-18 18:31 UTC (permalink / raw)
  To: gcc, Joseph Myers

The locale shit is not thread safe. printf(“Hello World %d”,3) is undefined behavior under none-UTF-8 exec-charset. WTF WTF WTF.

This is purely garbage tbh. Just remove this toggle. I want encoding, I can use another library. I do not need the compiler to do the shitty job for me to ruin my code and create undefined behaviors.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-19  8:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 18:31 I absolutely despise the whole -fexec-charset and locale garbage sotrdg sotrdg
2020-11-19  6:33 ` Liu Hao
2020-11-19  8:06   ` sotrdg sotrdg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).