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: Native compilation on as default? Date: Wed, 25 Oct 2023 14:22:31 -0700 Message-ID: References: <83legs281v.fsf@gnu.org> <83r0liiy44.fsf@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="19024"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 25 23:23:41 2023 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 1qvlLp-0004l2-9i for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Oct 2023 23:23:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvlKo-0005ow-57; Wed, 25 Oct 2023 17:22:38 -0400 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 1qvlKm-0005og-LW for emacs-devel@gnu.org; Wed, 25 Oct 2023 17:22:36 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvlKl-0006IK-0k; Wed, 25 Oct 2023 17:22:36 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2c5210a1515so3219641fa.0; Wed, 25 Oct 2023 14:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698268952; x=1698873752; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=ByxQw2X37vO2GbozzL33kEhhnqPR/0+zPHuKk0N01/Q=; b=Qfnbp3nYGuZJM7MdfWcS9VWq8a/kcFiSGCSIou6ESLFC/S5W5a3SWAwiaCWpwG3c50 UHEatgbEnKOXKBDTWqGmFLFjbctw/mL3DNuCo+zfQzPJH6kn4HwwCH0wIP2BLQ60Wo62 wL62WrjaM8VpLSvw3i3/wqjy87HRAxsMl56O3xhWEQKZtxF1uYo7dem7OfmHRDUwN+Wm Tu64S765g4C2tTrpngy8llQ6sIibSfWAxwtUwrnqI/IQUagDI8RTD7uBMhYQ71JFLlMv 2DW1EYtvdSOMuGjuklabnMjYF70tkM/QTa1LqAESjgaiE6+ugpJzo1ANn3SLzHo+PLRq +MVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698268952; x=1698873752; h=content-transfer-encoding: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=ByxQw2X37vO2GbozzL33kEhhnqPR/0+zPHuKk0N01/Q=; b=s6Q+QGqm77BXskBfPOvwEfT1TR0ceoJo5eF8uC0NurVtxfbNmVZUG4S/XnNbOEZ48t Jpifh82bUShdVFSobxWdcqtmFIibaPybzuTLtpk6Ede3vO7sM29xceB3Wxat3dDFRw5A LpIyTG2MREYMra1MYKlzRsKX3kN0dDjCpsgpS5eLXfUp2nFMutKEYBddPcB9PTfJ1Mwe yP2qEeKp7K2a2X+cS2oyxlFpHRQzzcz1y3JxoEccq26V9+v4bY5tm9+tk02BKdOSbq6l dPbqLH2+bfZlhD/EJtLudRDeSHsvyKo3bOw88KNmDa+1syL0O7S+Wf/a0dDNmwtEuq1j tKgQ== X-Gm-Message-State: AOJu0YziJATkRLDRNpunISyepIx3eVEoSTkcUDJVGj98IgPURk0Bwk1n UqSqkBXcOsEArLUOgEc1iqwdaOLUlOyZcjrPtROvhAgYFk4= X-Google-Smtp-Source: AGHT+IH8EEyVWo+uLa/1gA1DIEoRbrRJuffp3W4COsYFkmqv+QVbHC9cEduorLL6pmhmpDZx74MteLCHIZF2cFflixA= X-Received: by 2002:a2e:3c03:0:b0:2c5:2357:be98 with SMTP id j3-20020a2e3c03000000b002c52357be98mr11629912lja.44.1698268951551; Wed, 25 Oct 2023 14:22:31 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Oct 2023 14:22:31 -0700 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x22e.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 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:311865 Archived-At: Andrea Corallo writes: > Thinking about this... IME *the* warning we are interested in from the > async compilation is the: > > "the function =E2=80=98xxx=E2=80=99 is not known to be defined." > > This because typically xxx is not a function but a macro and is unknown > due to a missing require, the file end-up misscompiled and not > functional. What is it specifically that makes this into a separate issue for the native-compiler? Shouldn't the byte-compiler also warn about a situation like that?