From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#70716: flymake-cc creates `-.o` files Date: Thu, 2 May 2024 14:13:49 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006499c106177860cd" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32518"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70716@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 02 15:15:12 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1s2WHH-0008F5-Kz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 May 2024 15:15:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2WGo-0000QN-Mv; Thu, 02 May 2024 09:14:43 -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 1s2WGm-0000Pw-UR for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 09:14:40 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2WGm-0003ED-Kg for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 09:14:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2WH8-0005rU-7f for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 09:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2024 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70716 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: Emacs Bug Report Original-Received: via spool by submit@debbugs.gnu.org id=B.171465567422511 (code B ref -1); Thu, 02 May 2024 13:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 May 2024 13:14:34 +0000 Original-Received: from localhost ([127.0.0.1]:43716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2WGf-0005r1-V9 for submit@debbugs.gnu.org; Thu, 02 May 2024 09:14:34 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:56018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2WGe-0005qv-Io for submit@debbugs.gnu.org; Thu, 02 May 2024 09:14:32 -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 1s2WGD-00007t-4o for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 09:14:05 -0400 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2WGB-0003Bj-JA for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 09:14:04 -0400 Original-Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-51f57713684so336145e87.1 for ; Thu, 02 May 2024 06:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714655641; x=1715260441; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kaOg1Fv+O6Yg+nLEwLb70fy+hxtRD52EUv3wu0wJWX0=; b=NWwQ6meKOEAf2c+gMV6YzAuO5EG+/VgxmLg5fFaWxioFZrEkeTZAapdhzkq44nJSgV EgNTSOV8jiLPXLIWRTXKp1y/OLBRV53gHrtrJDSHUIhaujxYYYodMAzXxnm6sw96hYWF Ed6wNWz7kYFhg6PXZLYRyfXmug9xHbUuGUg2j31QdmGrHb4ICD8FejrJLXtqmG9oSAsL fc4t/7TB5E86QrcKUexDmyS9KLIHLMNdlZng4DMRcuOQEttF+qxX18GcuBLsfpu+TlXx LXuNeFrOCTxZgkMMl/Ll9Bea+0PxaMykccrGkUuEhmzbyOkDg0RdsfdnlGn0dUx/SSpf fHPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714655641; x=1715260441; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kaOg1Fv+O6Yg+nLEwLb70fy+hxtRD52EUv3wu0wJWX0=; b=Y/O2yro4g6Zt2Dub8NIJ3ijjNkVFqNgpLjNxIdMPr37okNJPpxC3bNLkLZY8bJnlnh SIY41W0NMrH5S4i1HmUYMQc1jd0bteklu20yjw9DgQIHQB/p1q0EYHGDzzmNRr8Z2YZP W4Jvj8FiP4ezmYtelT1zb7efpDkYjCs3UF4tw3yxc8fxCUaAvHiFXAmcYrEPeVP27D0U bLRmpkHxrtI4gfzHUVRIlmhxSlpB0QApSR1T3FCVGxr1xb7gwIR8DJo3absrhG6H8q5d rzShAPMzlx9NLmBl21SuABoq6C0Usnvsov43dUT5ihvsyXveCz6Qpv7lCww9O0SyW6cd tLKA== X-Gm-Message-State: AOJu0Yzn555kDu6b0zXpWo3ToZDL+912yUIjMJ+hGfUQaIzSDJjGVv+f A7NiJi/GladWKEHxcJEUKEnq5y30bbp08c/dX4zDZSI6Ecj4o3SVRcKOezCHsvrn6ghcMbjTIZT /R4RHOp+EOAJjPLrKJSN34eCafK1eQQ== X-Google-Smtp-Source: AGHT+IHpSWFdGBQ6ibFo3H6gDZ40Lfdgzc1zg64/qWoXV7pwomwg/ltAmFCDtl/pjfqUUxG5rgHgYV4hM8vYlWMzBl4= X-Received: by 2002:a05:6512:2803:b0:51d:8756:33f3 with SMTP id cf3-20020a056512280300b0051d875633f3mr4747627lfb.32.1714655640981; Thu, 02 May 2024 06:14:00 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x129.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, HTML_MESSAGE=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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284317 Archived-At: --0000000000006499c106177860cd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 2, 2024 at 2:10=E2=80=AFPM Mattias Engdeg=C3=A5rd < mattias.engdegard@gmail.com> wrote: > `flymake-cc-use-special-make-target`, the standard value for > `flymake-cc-command`, generates a command like > > make check-syntax CHK_SOURCES=3D"-x c -c -" > > which causes the compiler (at least Clang) to create the file `-.o` that > is never cleaned up and whose name is mysterious and awkward to remove. > > What about the patch below? > Copying in Spencer Baugh, the new Flymake maintainer. Jo=C3=A3o --0000000000006499c106177860cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, May 2, 2024 at 2:10=E2=80=AFPM Mattias Engdeg=C3=A5rd= <mattias.engdegard@gmail= .com> wrote:
`flymake-cc-use-special-make-target`,= the standard value for `flymake-cc-command`, generates a command like

=C2=A0 make check-syntax CHK_SOURCES=3D"-x c -c -"

which causes the compiler (at least Clang) to create the file `-.o` that is= never cleaned up and whose name is mysterious and awkward to remove.

What about the patch below?
=C2=A0
Copying i= n Spencer Baugh, the new Flymake maintainer.=C2=A0

Jo=C3=A3o
--0000000000006499c106177860cd--