From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 37889523278: Add new `swap` macro and use it Date: Tue, 30 Jan 2024 10:41:47 +0800 Message-ID: <87wmrrfspg.fsf@yahoo.com> References: <170452579053.27998.16123231327386305897@vcs2.savannah.gnu.org> <87le9297ei.fsf@yahoo.com> <87cyue92fx.fsf@yahoo.com> <877ckm8uzz.fsf@yahoo.com> <83v886sgtl.fsf@gnu.org> <4719da9bc2bbcffdb634@heytings.org> <87bk9o1ooo.fsf@yahoo.com> <83cyu4fl4o.fsf@gnu.org> <877ckc1gs9.fsf@yahoo.com> <83a5p8fehd.fsf@gnu.org> <83bk9mepkt.fsf@gnu.org> <9245debeed69c26665f0@heytings.org> <87h6jbwfu4.fsf@yahoo.com> <2f5a5ec4d5c204a5200d@heytings.org> <87il3flbxj.fsf@yahoo.com> <37364cd16c3e66d03224@heytings.org> <87sf2ihzoz.fsf@yahoo.com> <148534ba184067c6fc39@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22491"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , stefankangas@gmail.com, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 30 03:42:53 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rUe5M-0005bq-To for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Jan 2024 03:42:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUe4b-0000u8-C7; Mon, 29 Jan 2024 21:42:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUe4Z-0000tl-9D for emacs-devel@gnu.org; Mon, 29 Jan 2024 21:42:03 -0500 Original-Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUe4W-0007Nv-Li for emacs-devel@gnu.org; Mon, 29 Jan 2024 21:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706582518; bh=iEbo6B4UW8oMgK6VCz7ol9McnaZ2mr/B3dfC07iCFq4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=gF2WICutv9PbiZhwujyXFw4cxHP3wuJgk/baxToXSSdoblhmztRGAjNFLY3VpClLW29WmhhHf38fC3Zx9aovNa+zW9fxOXsgmrtkq8qrZ/pDvs+CiUyiI+e2riQ1H92DVPGwUp6OZOBzXrdOCg7eKECDNGZBVuXE6w6gxrTiozkVUaWeUdz6byGOEEXXNr4uDC4v+YplQ6Ajm2fLefJzpj0vA3PLkkfKDNqETBNApaotrDBf56QUedxGcj26y1FeY3zX3UZGQtj6lpkjBRnOkx3eVIBn+6UxtPC+fvCHciQnLAsfG9Q3r78YjqoNOD4YPUGhP7MDG6DkcOxvsy+sHA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706582518; bh=oCADFxF2BY38Z+oyOv4T1eBXWL1n4BcYPxEBr3H/2Ri=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SBgFVwYQC+F+zo4bF1u+Rv6IEwXTecAZl1FOFswM1Z7+NUoZJYPS6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Iz04tGh.QW3xhnmAMnQXR6HVbwKGuWome8vS0G3cNPvHeWe M2Eo_n0DWK7SDEJzDhmVLjq94hVNr7foe7IdS3wi.X X-Sonic-MF: X-Sonic-ID: 6702d9f6-f526-4ef1-950a-ec567e91effe Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Tue, 30 Jan 2024 02:41:58 +0000 Original-Received: by hermes--production-sg3-6dc75bc8fb-khq9b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4400a4b4cbbac70a3ff85d7f4d45de3e; Tue, 30 Jan 2024 02:41:53 +0000 (UTC) In-Reply-To: <148534ba184067c6fc39@heytings.org> (Gregory Heytings's message of "Tue, 30 Jan 2024 02:00:43 +0000") X-Mailer: WebService/1.1.22046 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.199; envelope-from=luangruo@yahoo.com; helo=sonic301-30.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315618 Archived-At: Gregory Heytings writes: > You did not, otherwise you would not have explained the build failure > with something that had no relationship whatsoever with it. Your build failure is one which we have _fixed_, and holds absolutely no bearing on our expectations of C compilers. > All that is irrelevant in the matter at hand. You don't decide what is relevant or irrelevant. > That's wrong. Again you are just ignoring the information I gave > you. So I'll say it again: alignas, a C11 feature, was introduced > unconditionally in Emacs by e32a579975 in July 2012, and it was made > conditional only ten years later, by 1e2bc1bbf4 in December 2021 (to > support builds with older version of TCC). Without the "# define > alignas(a)" line in lisp.h, which was added by 1e2bc1bbf4 and was > therefore not present in Emacs 25-28, Sun C 5.8 fails to compile Emacs > 29 in the same way it fails to compile Emacs 25-28. In e32a579975's lisp.h: #ifndef alignas # define alignas(alignment) /* empty */ # if USE_LSB_TAG This definition was lost unintentionally to a succession of changes, and promptly restored when its absence was brought to our attention. I'm sorry to be blunt, but if in decision-making you consider and cite only historical factors to your liking, or in argument you cannot make the distinction between errors arising from some fundamental limitation of a compiler and those caused by operator error, to wit, the failure to provide several required compiler flags and install patches firmly recommended by the supplier, whether a compiler can and should compile Emacs is not for you to decide. So believe what you want--you don't use Solaris, or TCC, so the subject of your assertions cannot affect you to any extent.