[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suspicious warning in W64 build
From: |
Eli Zaretskii |
Subject: |
Re: Suspicious warning in W64 build |
Date: |
Mon, 18 Sep 2017 17:41:32 +0300 |
> Cc: address@hidden, address@hidden,
> address@hidden
> From: Paul Eggert <address@hidden>
> Date: Sun, 17 Sep 2017 21:52:04 -0700
>
> Eli Zaretskii wrote:
> > I don't know what "works" means in this context.
>
> It means that the rest of the C source code is fontified as usual, and
> fontification isn't confused by use of UNINIT.
It is here, because:
> > It doesn't fontify UNINIT as an assignment that it is.
>
> UNINIT is an attribute for a declarator; it is not an assignment, and should
> not
> be fontified as an assignment.
It expands into an assignment, so it's an assignment.
> Emacs uses lots of other macros for declaration attributes, such as
> ATTRIBUTE_UNUSED and ATTRIBUTE_CONST. These macros all "change syntax" but
> that's acceptable when there is no reasonable alternative using ordinary C
> syntax. So UNINIT is not doing anything unique here; it's got company.
ATTRIBUTE_* is bad enough already, but at least it expands to
something very similar, so syntactically it's better than UNINIT.
- Re: Suspicious warning in W64 build, (continued)
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/17
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/17
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/17
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/17
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/17
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/17
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/18
- Re: Suspicious warning in W64 build,
Eli Zaretskii <=
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/18
- Re: Suspicious warning in W64 build, Andy Moreton, 2017/09/18
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/19
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/18
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/17
- Re: Suspicious warning in W64 build, Andy Moreton, 2017/09/16
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/16
- Re: Suspicious warning in W64 build, Richard Copley, 2017/09/16
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/16
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/15