Hi,

On 19/06/2024 11:23, Alexey Edelev via Development wrote:

Hi,

I have a side question for this discussion(raised by Ivan in personal conversation): Should we also force the -fexec-charset= for the gcc-like compilers? Currently we use the system default one, which in most cases is UTF-8.

I wouldn't say "force", but we could certainly check for it. We depend on that: we assume that string literals in our headers are UTF-8 encoded.

I it worth it though? Since we're talking about user code, this would mean a static_assert in a global header. (There's some precedent for this, like the check for /permissive-).

My 2 c,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - Trusted Software Excellence

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to