tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Warning/bug detected by clang


From: Domingo Alvarez Duarte
Subject: Re: [Tinycc-devel] Warning/bug detected by clang
Date: Thu, 21 Nov 2024 11:28:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Hello ian !

You've got the idea and thanks for improving it !

On 21/11/24 11:04, ian wrote:

Hi

#define TCC_VERSION_MAJOR "0.9."🤣

0 is the major version, 9 is a subversion, 28 is the minor version.
If you wanna have clear code :

#define TCC_VERSION_MAJOR "0"
#define TCC_VERSION_SUB ".9"
#define TCC_VERSION_MINOR ".28"
#define TCC_RELEASE_CANDIDATE "rc"
#define TCC_VERSION TCC_VERSION_MAJOR TCC_VERSION_SUB TCC_VERSION_MINOR TCC_RELEASE_CANDIDATE

is better ...

And as I said earlier :

Maybe should « "zig cc" (clang 18) » preprocessor handle in a smarter way things like DEFINED_STUFF + CONST_VALUE ?


Regards,

ian

Le 21/11/2024 à 10:25, Domingo Alvarez Duarte a écrit :
#define TCC_VERSION_MAJOR "0.9."
--
-- İȃɲ ƝᵋᵃʳᶩỾ
-- MeNearly@gmail.com
-- Développeur compulsif

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]