From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: master 37889523278: Add new `swap` macro and use it Date: Sat, 13 Jan 2024 04:16:08 -0600 Message-ID: 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; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12727"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org To: Gregory Heytings , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 13 11:16:54 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 1rOb4Q-000371-DD for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Jan 2024 11:16:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOb3z-0003IQ-DP; Sat, 13 Jan 2024 05:16:27 -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 1rOb3q-0003EF-AM for emacs-devel@gnu.org; Sat, 13 Jan 2024 05:16:20 -0500 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOb3l-0007m2-At; Sat, 13 Jan 2024 05:16:18 -0500 Original-Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so6363619a12.2; Sat, 13 Jan 2024 02:16:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705140969; x=1705745769; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=Yr3QDnglYCFfVgFbfjP4H5KuklGykgPZu7ozEibaUrI=; b=gf9YaxObS8zemLNjn1M5GVZjwg5d7GDPocOlxUFGnaeyy/w1nkJO6YiYB0pJKbQLbu tcgtYtDNaHLHImz8gBWl9yBefXJu7Pg8BrNBX7k7eEFVXeaiIkP8yLLkJOTQs4/59GP2 stGQ4QHWhYcFAO7AHcFNAKPIRafHTgolqs3OEMCXrAHHWKNNzxERUh3tSbQIBo6muo1q +DoJMsm9JBoigThAo5yPg0b/pN4JVqIfbT17NvYzrAnsLPqcD/h2UBVZg3g5xrcdd2J0 DogZS9jB1DYgCw8x8B47j9xGWYKYEIKPw0PWzaUUYFOPeghmUU8lJt/MqB0WtKXK0zQB s9Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705140969; x=1705745769; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yr3QDnglYCFfVgFbfjP4H5KuklGykgPZu7ozEibaUrI=; b=G1khSv4rKu4CrDBCP58bw5z3x0oRZuhtKq3qsm8gaNNahBJHbrlgmfXOzOsHidSW+h KiRAIq2tWdZzLATWu4eSCL1IdT3gfRIx+fSGpv7OT+EHU4gQFNbI+Oo/xePWPWrzSfNW I7xQTRFNzwpgcFnaqTsomtFSU1LFsumn67627ZAHUrCo75x8AVJwe3P3lO7TUZNxK+Sl TkbJCoNDioTo7oaRZ6MS1RzuYQg1LPwQwaUZBXl/q9RN9mLP5uJmtLtzZSLmNW5ntOXo Hb5RRqojgbEu+QnbrUM6pPgDxtLRtyxEFythaWwc2G9Q+pbP2N2L/UigvP4854rneqYv r88Q== X-Gm-Message-State: AOJu0YxI6d0opaLcXgWIwzkb13h0XP0EjXXJIPRU+NP3qq90GkfUcPg6 KXEH9ww5bBRShZ1I6vo16rNJSrHS1IJHLMSXi3RwxW8j X-Google-Smtp-Source: AGHT+IFUtIyiB65YL24f0hbAd6hMVjGSBMj9BTSY3Ng1+GH4G/FOCGF6diEP0zTJvq2DyzLpWBd07v+vzaKQPviVFdA= X-Received: by 2002:a05:6402:3514:b0:557:c93a:d726 with SMTP id b20-20020a056402351400b00557c93ad726mr1569965edd.53.1705140969055; Sat, 13 Jan 2024 02:16:09 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 13 Jan 2024 04:16:08 -0600 In-Reply-To: <4719da9bc2bbcffdb634@heytings.org> Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x535.google.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, 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:314928 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. Thanks, that's encouraging. This implies that we wouldn't need to state the type explicitly, as we can always rely on typeof or __typeof__.