I absolutely despise the whole -fexec-charset and locale garbage.

sotrdg sotrdg euloanty@live.com
Thu Nov 19 08:06:17 GMT 2020

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,

More information about the Gcc mailing list