tinycc-devel
[Top][All Lists]
Advanced

[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:30:01 +0100 (CET)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)

Hi,

On Thu, 29 Oct 2015, Sergey Korshunoff wrote:

> > Removing a valid warning is never a goid idea long-term.
> 
> A tcc message was: Error And this condition is an error only if an
> initialization with diffenet values asked. In other cases it can be
> only warning. And there must be a flag to supress it

No, you can't simply make out rules yourself.  In C it's not 
allowed to have two definitions of the same non-static symbol, simple as 
that.  It's not only for when initialized with different values or the 
like; it's undefined no matter what.


Ciao,
Michael.



reply via email to

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