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 12:17:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Changed again to incorporate good suggestions:

====

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

====

====

cstr_printf(cs, "#define __TINYC__ %s\n", TCC_VERSION_SUB TCC_VERSION_MINOR TCC_VERSION_SUFFIX);

====

On 21/11/24 12:10, Vincent Lefevre wrote:
On 2024-11-21 11:33:21 +0100, Domingo Alvarez Duarte wrote:
I changed it to:

====

#define TCC_VERSION_MAJOR "0"
#define TCC_VERSION_SUB "9"
#define TCC_VERSION_MINOR "28"
This is often called MAJOR.MINOR.PATCH or MAJOR.MINOR.MICRO, but
in the case of tinycc, the "9" isn't really minor. So, OK.

#define TCC_RELEASE_CANDIDATE "rc"
I would rather call it TCC_VERSION_SUFFIX (so it could be "alpha",
"beta", "dev" or whatever, if need be).




reply via email to

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