[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Add missing scope modifier?
From: |
grischka |
Subject: |
Re: [Tinycc-devel] Add missing scope modifier? |
Date: |
Fri, 12 Aug 2022 07:58:34 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.0; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
On 11.08.2022 17:06, pursuer2 via Tinycc-devel wrote:
I'm sorry to send a duplicate mail by mistack a short while ago.
what I really want to say is that I make a patch to add all missing scope
modifier .
Static scope is userful when use ONE_SOURCE build mode, which can avoid
unexpected name confilict.
The patch show below:
https://github.com/partic2/tinycc/commit/2cb29cf0eb29f4e8d79b3f1774c6b3df749af550
But the il and c67 backend are not change because I'm not sure how to test.
Better leave alone tcccoff.c too. Other than that I think it
makes sense. You could test with
$ make clean && make all cross ONE_SOURCE=yes
and with "no" too.
-- gr
And will mob accept this patch?
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel