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.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to