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
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel