[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.
- Re: [Tinycc-devel] defined twice error commented out, (continued)
- Re: [Tinycc-devel] defined twice error commented out, Michael Matz, 2015/10/28
- Re: [Tinycc-devel] defined twice error commented out, Sergey Korshunoff, 2015/10/28
- 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, 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 <=
- 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, 2015/10/29