[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] defined twice error commented out
From: |
Michael Matz |
Subject: |
Re: [Tinycc-devel] defined twice error commented out |
Date: |
Thu, 29 Oct 2015 15:27:55 +0100 (CET) |
User-agent: |
Alpine 2.20 (LSU 67 2015-01-07) |
Hi,
On Thu, 29 Oct 2015, Sergey Korshunoff wrote:
> Hi Michael Matz
>
> > No, please keep the message
> That was a quick fix for the problem.
What problem? Fix the sources if tcc complains.
> > So, please revert.
> Revert is not a solition.
As removal of the message introduces a quality of implementation
regression without improving anything, yes, reverting it is actually the
solution.
> If gcc don't complain, than a tcc must not complain too.
Why?
It's not GCC that complains, it's GNU ld. And no, tcc is fully right to
complain here, it's incorrect C to have two definitions, so tcc is
actually better than GCC+GNU ld in their default mode on recent
architecture+os combinations in diagnosing it.
> What a solution can be:
> * a some switch to disable this error message (a simple solution)
> How to name it?
>
> * producing a common symbols by tcc too. Can tcc do this?
None of this. The error message is correct.
Ciao,
Michael.
- Re: [Tinycc-devel] defined twice error commented out, (continued)
- Re: [Tinycc-devel] defined twice error commented out, Sergey Korshunoff, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, Stephan Beal, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, Sergey Korshunoff, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, Stephan Beal, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, grischka, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, Sergey Korshunoff, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, Sergey Korshunoff, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, Michael Matz, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, grischka, 2015/10/29
- Re: [Tinycc-devel] defined twice error commented out, Michael Matz, 2015/10/30
- Re: [Tinycc-devel] defined twice error commented out,
Michael Matz <=