From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: master b99ec5d 3/3: Work around __has_attribute bug in clang 3.4 Date: Sat, 23 Jan 2021 17:32:24 +0100 Message-ID: References: <20210122200300.770.63187@vcs0.savannah.gnu.org> <20210122200304.8BBE820A10@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38530"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Glenn Morris , Paul Eggert , Emacs developers To: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 23 17:33:46 2021 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 1l3Lr7-0009ui-3f for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jan 2021 17:33:45 +0100 Original-Received: from localhost ([::1]:50814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3Lr6-0000E6-59 for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jan 2021 11:33:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Lq4-0008BD-68 for emacs-devel@gnu.org; Sat, 23 Jan 2021 11:32:40 -0500 Original-Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:44526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3Lq1-0003EH-DK; Sat, 23 Jan 2021 11:32:39 -0500 Original-Received: by mail-oi1-x22d.google.com with SMTP id x137so8538790oix.11; Sat, 23 Jan 2021 08:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FzLrgIGM5/LsHGecYKLQ4Iq689ijwcr5KHeKHPuckGE=; b=fVUzghsVhelWts+H4dKFDe0My4XHlWtI5d/AqW3uydaCSlNZvocClkGtUumhCCyy1j Uk5i/uK3Wxrk2Un2NodW0+47Uo4Sihr41iCHqqaAzkmPlcVIccm0am0FycCM8s/+fq5s oBiE1rBCIZTzEppvmgR9bmF7tKXEoMErioJ1v8UXOynm4iBYsz1IOA/gwa2KtafzAiNT pq+/38pPx2jVl+xEQtQ9B1wyenZh1f4gqLD2GqBX6/vxnQmiw9yxaR2A5KpsZUWZ4rpX PpnyCjZB81BNgAUncUKPuR+dhhn+z7X0Sh3sAUbAikryuDav2p87WTvC25t9Tmq9Mpwe HGSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FzLrgIGM5/LsHGecYKLQ4Iq689ijwcr5KHeKHPuckGE=; b=dr9K1NqCpsqd9n33C+0LKFGRwObEspnt3wHvkQyqUHSQoYioy+s/Wfkvb1WVH1ZqBX 0qRmgl1iYEIlRu6dFUutvLF2hkxNGlGIzrr1iTzYts2cc4wMgetbMzoB4tamnjbJhzEJ 57IdV8nx+Ofxs9EmVFIpe06oVex9u4Ucnk2eSnWEMz3vBXY953JJSEJ9YL+L2Z5857OE mAFOzXa4+2zHl8mabYe6Aho1f4SZ6WUUDKrItEfzwfuH0PL1Ml5X3wY+34l4mtSdWLDK 6Kkb/hCn4l/+M0p7G1oWi62teRS1z5xb+8p32LviGiZ3X4wt3wcPbeznUYc4N8RJ+NjG /+sw== X-Gm-Message-State: AOAM530l+IxDgLgEldvaO204R0x6fz/OOmC5gWFKYhvmuBa2EegHZbSG LaU2g7bXMa8d2BHiuTAmhaFLiITGQWGjbaNBeRk= X-Google-Smtp-Source: ABdhPJxUGWhzoDCQ6I+2KJB1P9xBpG0rOpClIniwrQlrIoJhR12JMTfZWmq91o3+ImZDTEtDLiWCS1QedVhzL8ySq/k= X-Received: by 2002:aca:ea08:: with SMTP id i8mr366468oih.150.1611419555618; Sat, 23 Jan 2021 08:32:35 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::22d; envelope-from=p.stephani2@gmail.com; helo=mail-oi1-x22d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:263304 Archived-At: Am Sa., 23. Jan. 2021 um 11:14 Uhr schrieb Mattias Engdeg=C3=A5rd : > > 23 jan. 2021 kl. 01.46 skrev Paul Eggert : > > > Perhaps someone who can build on macOS directly can provide more info a= bout the problem. I had no problem building with clang 11.0 on Ubuntu but A= pple's clang is special. > > Apple's clang seems to come with a builtin > > #define __nonnull _Nonnull > > which clashes with the the one in lib/cdefs.h. Perhaps we should call it = something else. Gnulib should avoid identifiers starting with an underscore, as they are reserved for the implementation.