From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Suspicious warning in W64 build Date: Mon, 18 Sep 2017 17:41:32 +0300 Message-ID: <83poaohxwj.fsf@gnu.org> References: <1017454172.910810.1504618695244@mail.libero.it> <83377vx3d0.fsf@gnu.org> <83ingnq01t.fsf@gnu.org> <83fubrpxsv.fsf@gnu.org> <83r2v9masw.fsf@gnu.org> <86a81xrndl.fsf@gmail.com> <83a81wmijy.fsf@gnu.org> <83vakkklto.fsf@gnu.org> <83poarlrcj.fsf@gnu.org> <83h8w3krx1.fsf@gnu.org> <83bmm9jt23.fsf@gnu.org> <0feb1250-beb8-5a21-0582-c879f922bb1c@cs.ucla.edu> <83zi9ti6x5.fsf@gnu.org> <84478f56-8fb2-87c3-c74c-c3ee92b6403a@cs.ucla.edu> <83tw01i0mb.fsf@gnu.org> <3bcf37e9-0028-60e9-3912-7c05d53b02f9@cs.ucla.edu> <83r2v4ivqk.fsf@gnu.org> <4492475f-b53e-1dce-81a3-cb1294506456@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505745843 11930 195.159.176.226 (18 Sep 2017 14:44:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 14:44:03 +0000 (UTC) Cc: fabrice.popineau@centralesupelec.fr, andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 18 16:43:54 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtxH6-0002SV-Rk for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2017 16:43:52 +0200 Original-Received: from localhost ([::1]:37051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtxH9-000181-3l for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2017 10:43:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtxF7-0007jg-UY for emacs-devel@gnu.org; Mon, 18 Sep 2017 10:41:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtxF3-0006di-VD for emacs-devel@gnu.org; Mon, 18 Sep 2017 10:41:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtxF3-0006dc-SF; Mon, 18 Sep 2017 10:41:45 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4433 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dtxF3-00021Z-1M; Mon, 18 Sep 2017 10:41:45 -0400 In-reply-to: <4492475f-b53e-1dce-81a3-cb1294506456@cs.ucla.edu> (message from Paul Eggert on Sun, 17 Sep 2017 21:52:04 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218463 Archived-At: > Cc: fabrice.popineau@centralesupelec.fr, andrewjmoreton@gmail.com, > emacs-devel@gnu.org > From: Paul Eggert > 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.