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: Sun, 14 Jan 2024 13:14:47 +0800 Message-ID: <87bk9o1ooo.fsf@yahoo.com> References: <170452579053.27998.16123231327386305897@vcs2.savannah.gnu.org> <20240106072311.28B8FC0034E@vcs2.savannah.gnu.org> <87plye9ahs.fsf@yahoo.com> <83o7dyua0d.fsf@gnu.org> <87le9297ei.fsf@yahoo.com> <87cyue92fx.fsf@yahoo.com> <877ckm8uzz.fsf@yahoo.com> <83v886sgtl.fsf@gnu.org> <4719da9bc2bbcffdb634@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="15080"; 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 Sun Jan 14 06:16:00 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 1rOsqm-0003hX-1r for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jan 2024 06:16:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOspv-00048F-KM; Sun, 14 Jan 2024 00:15:07 -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 1rOspt-00047n-EA for emacs-devel@gnu.org; Sun, 14 Jan 2024 00:15:05 -0500 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOspp-0002Oo-23 for emacs-devel@gnu.org; Sun, 14 Jan 2024 00:15:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705209296; bh=YP1TDwcdoyTZfXnJiF+kEqZEM3789R+4HChp/xOe9vs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=OH+y/nCyaV/jzjfDb4vMz2s3MJGgNEklI7UiJvkqc6pGvct6VMFs8/KX13PUcEVzlOAJu9HEjWcly1Wd91pr4HRO0jGjrQlb8DJPLfq15+jgj7qoFXd2SLdLXN/ns1FbWcDnz7hFo0D5b5+uCBnDtAUO6dFwsRYhmuWGo1YPHkSPwrqptL9YFxTh8vPvy3Oa2LJbb0wL8dyneBCzrH8vw3Ri7nrL8Hd08q7o0Jbxk1+zWWJXNJm1+HzR6BSGYZRVF5rOQI4qK0Nkl+q16kl8uckhzG+bkNdq6j+I58arLWY7f/XI8+omyk9KV4fACD8ZuZWstIFDOqsLEFPPJ266xA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705209296; bh=8I198cfAaTEXm+V/0yWBawY+tvaS751louvgAoxIvII=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=irETqziwJcexFrDa6mpow2sgaBdLuSASpG+FN772l/Fw25uIncvvaoo0sb9+yxZInSaUx7EHrldx2zy4GwEO7eN7doZeoRSzC4mpORlpEBIEOi4cyBeH9zTi4UiQexYBuH3UAbKDcm8Ggs/R263XVQVYOXM0Wm26SIwoYBCGGNg5BJLZcX//GDcgDaX4TpdLa8hCGnqbQKPw6ygOkR0sQhl+GyF+xcNXMSLsenyIhdIbQ3QD7godN+0f9xPs1e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ne1.yahoo.com with HTTP; Sun, 14 Jan 2024 05:14:56 +0000 Original-Received: by hermes--production-sg3-677476f564-2f7f5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d1edc8de545db3c8797fcb2c613aa353; Sun, 14 Jan 2024 05:14:53 +0000 (UTC) In-Reply-To: <4719da9bc2bbcffdb634@heytings.org> (Gregory Heytings's message of "Fri, 12 Jan 2024 00:50:28 +0000") X-Mailer: WebService/1.1.22010 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.148; envelope-from=luangruo@yahoo.com; helo=sonic315-22.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=ham 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:314949 Archived-At: Gregory Heytings writes: > FYI, Stefan's change did not break any build. "typeof" is supported > by all compilers with which Emacs can be built, either with the > keyword "typeof" or with the keyword "__typeof__". The only notable > compiler that does not support "typeof" is MSVC, with which Emacs > cannot be built. Stefan's change (which I reverted) did not use __typeof__. > "Every implementation in existence since C89 has an implementation of > typeof. Some compilers (GCC, Clang, EDG, tcc, and many, many more) > expose this with the implementation extension typeof. [...] This > feature is the most "existing practice"-iest feature to be proposed to > the C Standard, possibly in the entire history of the C standard. The > feature was also mentioned in an "extension round up" paper that went > over the state of C Extensions in 2007. typeof was also considered an > important extension during the discussion of that paper, but nobody > brought forth the paper previously to make it a reality." Considering that EDG and GNU/Linux compilers are the only compilers you have named as examples, this list is nowhere near sufficient to prove that "typeof" does not break any build. Which is a very presumptuous statement whatever the length of your list, when a build breaking was in fact the reason for this change...