tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks


From: grischka
Subject: Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks
Date: Sat, 16 Jul 2022 00:46:45 +0200
User-agent: Mozilla/5.0 (Windows NT 6.0; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

On 13.07.2022 16:45, Ziyao wrote:
On Wed, Jul 13, 2022 at 12:01:57PM +0200, grischka wrote:
Is it necessary or a good idea to remove that behavior/feature now
from tcc?
I've seen no arguments.

Sorry for my impulsive decision.

It is a valuable feature to be honest but supposed to be described
in document I think.

To be honest, I don't know how valuable it is, or whether or not it
might be in use by someone out there.  It could be useful maybe
with libtcc applications to wrap C-code in strings, for example.

As for me, I agree with Vincent and am wishing to make TinyCC throw a
warning in this case at least,because it seems exactly to break the
language rules.

Users, as we know, are fully entitled to express their wishes freely
as well as to call a bug whatever gets in their way and not to be
bothered with the details.

But:  As soon as someone considers to patch the public TinyCC, he
cannot see himself as an user merely anymore.  He is expected to
know what he is doing and to have understood what has been done
before. (The short answer to a "Sometimes Asked Question")

See also:
https://repo.or.cz/tinycc.git/commitdiff/af1abf1f45d45b34f0b02437f559f4dfdba7d23c

-- grischka


Ziyao



reply via email to

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