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

* Re: I absolutely despise the whole -fexec-charset and locale garbage.
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Liu Hao @ 2020-11-19  6:33 UTC (permalink / raw)
  To: sotrdg sotrdg, gcc


[-- Attachment #1.1: Type: text/plain, Size: 808 bytes --]

在 2020/11/19 上午2:31, sotrdg sotrdg via Gcc 写道:
> 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.
> 

Why are you still trolling here and there? You have been doing that for years. Your irrational
behavior has earned disrespect and disapproval of you. Your resentful, arrogant and vicious opinion
is not going to change anybody or anything. You are asking for being banned everywhere. Please stop it.


狐裘虽敝,不可补以黄狗之皮。子其勉之。


-- 
Best regards,
LH_Mouse


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: I absolutely despise the whole -fexec-charset and locale garbage.
  2020-11-19  6:33 ` Liu Hao
@ 2020-11-19  8:06   ` sotrdg sotrdg
  0 siblings, 0 replies; 3+ messages in thread
From: sotrdg sotrdg @ 2020-11-19  8:06 UTC (permalink / raw)
  To: Liu Hao, gcc

That is not trolling. clang just ignores this fexec-charset toggle since that makes lexer much simpler. GCC supports this but it does not prevent behavior. GCC should remove it too to speed up compilation performance

locale is a historical mistake. Many series security vulns were created because of locale. Even glibc was bugged for strcoll.

It will forever be unless wg14 wg21 remove the entire garbage.

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Liu Hao <lh_mouse@126.com>
Sent: Thursday, November 19, 2020, 01:34
To: sotrdg sotrdg; gcc@gcc.gnu.org
Subject: Re: I absolutely despise the whole -fexec-charset and locale garbage.

在 2020/11/19 上午2:31, sotrdg sotrdg via Gcc 写道:
> 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.
>

Why are you still trolling here and there? You have been doing that for years. Your irrational
behavior has earned disrespect and disapproval of you. Your resentful, arrogant and vicious opinion
is not going to change anybody or anything. You are asking for being banned everywhere. Please stop it.


狐裘虽敝,不可补以黄狗之皮。子其勉之。


--
Best regards,
LH_Mouse



^ 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).