GNU bug report logs - #70716
flymake-cc creates `-.o` files

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Mattias Engdegård <mattias.engdegard@HIDDEN>; dated Thu, 2 May 2024 13:11:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 70716 <at> debbugs.gnu.org:


Received: (at 70716) by debbugs.gnu.org; 4 May 2024 11:39:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 04 07:39:13 2024
Received: from localhost ([127.0.0.1]:53155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s3DjV-0004dB-1H
	for submit <at> debbugs.gnu.org; Sat, 04 May 2024 07:39:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1s3DjT-0004b9-4C
 for 70716 <at> debbugs.gnu.org; Sat, 04 May 2024 07:39:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1s3Dj0-0006ZG-IC; Sat, 04 May 2024 07:38:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=AlklTPlceULfM6v8AHbsRcvLUnm5i7Vv3zpNLqs1aTM=; b=F1moVJhzTGxmO/TTn+Bu
 zGtSLj1Vv0wJs8zoa/IH7W9meARN94ARzHFn7Rx+A/tAlHveJGhmIg5ezXQcEnYdXMC3iSVRqfpX0
 JFbSKCGzG0SLlh/TmFZkDH8G/+drYjXu/T3YyB2y90pgKrNzwN75imxjtVeYXlSTXP0JEb6GHq9Dq
 sSynjkTN9ruaWenCF3z7xlumZ9uWJJazXdhGNknz/htnqoGdVva561OxcDhg5mgQGo2fJTjzUq32O
 p35gF9Vn6LfD8BKWZJZNOfvzT0SzMeDJhCXm3xKbPg/dPx1yeL1lm9Ob/c0Lgme3awkfzGGr+7FQU
 4wnwqy5k/VEOBQ==;
Date: Sat, 04 May 2024 14:38:39 +0300
Message-Id: <86zft5g62o.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>
In-Reply-To: <41597539-59BE-4670-90A6-5AA4E82D260B@HIDDEN> (message from
 Mattias =?utf-8?Q?Engdeg=C3=A5rd?= on Thu, 2 May 2024 16:00:08 +0200)
Subject: Re: bug#70716: flymake-cc creates `-.o` files
References: <A6AC5249-B8E8-439D-AA99-276DB7E880D6@HIDDEN>
 <CALDnm53Bry4E9SJ4OP7DRfc=Vjx0eDN=Fn5Lr+6M1f95wYwJPA@HIDDEN>
 <41597539-59BE-4670-90A6-5AA4E82D260B@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70716
Cc: sbaugh@HIDDEN, 70716 <at> debbugs.gnu.org, joaotavora@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: sbaugh@HIDDEN, 70716 <at> debbugs.gnu.org
> From: Mattias Engdegård <mattias.engdegard@HIDDEN>
> Date: Thu, 2 May 2024 16:00:08 +0200
> 
> 2 maj 2024 kl. 15.13 skrev João Távora <joaotavora@HIDDEN>:
> 
> > Copying in Spencer Baugh, the new Flymake maintainer. 
> 
> Would either of you please update the `Maintainer:` lines in lisp/progmodes/flymake*.el then?

Spencer, is it okay to mention you there as the maintainer of Flymake?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70716; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 May 2024 14:00:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 10:00:45 2024
Received: from localhost ([127.0.0.1]:43992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2WzN-0006J6-Le
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 10:00:45 -0400
Received: from lists.gnu.org ([2001:470:142::17]:59742)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattias.engdegard@HIDDEN>) id 1s2WzL-0006J0-5a
 for submit <at> debbugs.gnu.org; Thu, 02 May 2024 10:00:44 -0400
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 <mattias.engdegard@HIDDEN>)
 id 1s2Wyr-0004NP-Ua
 for bug-gnu-emacs@HIDDEN; Thu, 02 May 2024 10:00:13 -0400
Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mattias.engdegard@HIDDEN>)
 id 1s2Wyq-0003vw-Eq
 for bug-gnu-emacs@HIDDEN; Thu, 02 May 2024 10:00:13 -0400
Received: by mail-lf1-x131.google.com with SMTP id
 2adb3069b0e04-51f45104ef0so572843e87.3
 for <bug-gnu-emacs@HIDDEN>; Thu, 02 May 2024 07:00:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1714658410; x=1715263210; darn=gnu.org;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject
 :date:message-id:reply-to;
 bh=wVPRzm6cVCg3aGPYnm6pl3WKHH1JWimCsId/D4Nx+qg=;
 b=VSfiSW88LEcpDAQgsmgHFwx3tD3zSvhh2ArUSzeMcxvnvmdGmU4SReneQ6U53VY4/v
 WZr8Z5s+p84TFsTuQLZQNRbDa0hdrk8r1KyKgbtCfEG6EtDI0nEQFytVoF3c18w3ExB2
 JZaTMwPQ/R+x9IxqFN3z8SnLxeakxaUHjrZzwhHOEkomqr3uNvcoWRacgEPtkC651StM
 G1N9SLq7OzlB6QbCVgBeYJavev9qIlnKyCrTqO2GeOckkKKeyJUSHYbbk0LrYoif2tNu
 u046onyjv0hhvBTnVQ5Q9lcG6jnxu9DvyNX/MyWxJV2O8I7CNkmd4BKKB2DJt2/NdsI+
 tiHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1714658410; x=1715263210;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:sender:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=wVPRzm6cVCg3aGPYnm6pl3WKHH1JWimCsId/D4Nx+qg=;
 b=JxZRbYKnBco34hUiqnR8kL74Gdx6MI1HCvDMn9++yYgYHSEFhU/sSRFyVesJHitHqZ
 o5nkomZK6OSCb3/gLpXlpwyYiXRzBT8GMIij6fpaUha0loDaJ373foW/GKH3Xw0agrB/
 8mrWlr3eenWGxFAm8374V6k+How2/FSdtsay61ykJb/2TXOhlVHTOscf5Yd3kmODFGP0
 +47KUovoeOJZawCTtqsT4La7aQCbb9hpXTEAPEe2AcOIwRjVT2cpSYp7ETXKLLjLeZ9B
 l5kWks4fEOpS+l0R1l/vvdd+YeadqmTL3o/IkNJiE0vWNjRQQGuo5aTYRaNHx+Dqaj+n
 bgwQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCUevQnUPRPlHSGKeOGfEqczVmxLvbLY31m+i2XDuJUifSOcEKY8qsJN7Eu0VmMmOEqUUO8hrxqr5r7oGMieKczaJR5W+/0=
X-Gm-Message-State: AOJu0YwgNeiTdWVljavPCt5Uw39vnYXbvJSzKgvch0+nsUEDd/4GoCCo
 jSRAhTG5cfLOE2WwPNWswkyTDBXbX+E/xs3Ubn0BZofuhEjen1yS
X-Google-Smtp-Source: AGHT+IGDFOzUkqFNppmLTJWuV9/igf2nMfQWLLshtA1wb9C8v5blGqk047EPgIAVt/eTib+tClqFLg==
X-Received: by 2002:ac2:442c:0:b0:513:5a38:f545 with SMTP id
 w12-20020ac2442c000000b005135a38f545mr3848808lfl.62.1714658409951; 
 Thu, 02 May 2024 07:00:09 -0700 (PDT)
Received: from smtpclient.apple (c80-217-1-132.bredband.tele2.se.
 [80.217.1.132]) by smtp.gmail.com with ESMTPSA id
 5-20020ac24825000000b00515cf8e12b3sm184164lft.91.2024.05.02.07.00.09
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 02 May 2024 07:00:09 -0700 (PDT)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Subject: Re: flymake-cc creates `-.o` files
From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>
In-Reply-To: <CALDnm53Bry4E9SJ4OP7DRfc=Vjx0eDN=Fn5Lr+6M1f95wYwJPA@HIDDEN>
Date: Thu, 2 May 2024 16:00:08 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <41597539-59BE-4670-90A6-5AA4E82D260B@HIDDEN>
References: <A6AC5249-B8E8-439D-AA99-276DB7E880D6@HIDDEN>
 <CALDnm53Bry4E9SJ4OP7DRfc=Vjx0eDN=Fn5Lr+6M1f95wYwJPA@HIDDEN>
To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Received-SPF: pass client-ip=2a00:1450:4864:20::131;
 envelope-from=mattias.engdegard@HIDDEN; helo=mail-lf1-x131.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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Spencer Baugh <sbaugh@HIDDEN>, Emacs Bug Report <bug-gnu-emacs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

2 maj 2024 kl. 15.13 skrev Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN>:

> Copying in Spencer Baugh, the new Flymake maintainer.=20

Would either of you please update the `Maintainer:` lines in =
lisp/progmodes/flymake*.el then?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70716; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 May 2024 13:14:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 09:14:34 2024
Received: from localhost ([127.0.0.1]:43716 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2WGf-0005r1-V9
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 09:14:34 -0400
Received: from lists.gnu.org ([2001:470:142::17]:56018)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joaotavora@HIDDEN>) id 1s2WGe-0005qv-Io
 for submit <at> debbugs.gnu.org; Thu, 02 May 2024 09:14:32 -0400
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 <joaotavora@HIDDEN>)
 id 1s2WGD-00007t-4o
 for bug-gnu-emacs@HIDDEN; Thu, 02 May 2024 09:14:05 -0400
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 <joaotavora@HIDDEN>)
 id 1s2WGB-0003Bj-JA
 for bug-gnu-emacs@HIDDEN; Thu, 02 May 2024 09:14:04 -0400
Received: by mail-lf1-x129.google.com with SMTP id
 2adb3069b0e04-51f57713684so336145e87.1
 for <bug-gnu-emacs@HIDDEN>; 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)
MIME-Version: 1.0
References: <A6AC5249-B8E8-439D-AA99-276DB7E880D6@HIDDEN>
In-Reply-To: <A6AC5249-B8E8-439D-AA99-276DB7E880D6@HIDDEN>
From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>
Date: Thu, 2 May 2024 14:13:49 +0100
Message-ID: <CALDnm53Bry4E9SJ4OP7DRfc=Vjx0eDN=Fn5Lr+6M1f95wYwJPA@HIDDEN>
Subject: Re: flymake-cc creates `-.o` files
To: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>, 
 Spencer Baugh <sbaugh@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000006499c106177860cd"
Received-SPF: pass client-ip=2a00:1450:4864:20::129;
 envelope-from=joaotavora@HIDDEN; 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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Emacs Bug Report <bug-gnu-emacs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--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@HIDDEN> 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

<div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"font-family:Arial,Helvetic=
a,sans-serif">On Thu, May 2, 2024 at 2:10=E2=80=AFPM Mattias Engdeg=C3=A5rd=
 &lt;<a href=3D"mailto:mattias.engdegard@HIDDEN">mattias.engdegard@gmail=
.com</a>&gt; wrote:</span><br></div><div class=3D"gmail_quote"><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol=
id rgb(204,204,204);padding-left:1ex">`flymake-cc-use-special-make-target`,=
 the standard value for `flymake-cc-command`, generates a command like<br>
<br>
=C2=A0 make check-syntax CHK_SOURCES=3D&quot;-x c -c -&quot;<br>
<br>
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.<br>
<br>
What about the patch below?<br></blockquote><div>=C2=A0</div><div>Copying i=
n Spencer Baugh, the new Flymake maintainer.=C2=A0</div><div><br></div><div=
>Jo=C3=A3o</div></div></div>

--0000000000006499c106177860cd--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70716; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 May 2024 13:10:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 09:10:58 2024
Received: from localhost ([127.0.0.1]:43692 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2WDB-0005oX-Up
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 09:10:58 -0400
Received: from lists.gnu.org ([2001:470:142::17]:41628)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattias.engdegard@HIDDEN>) id 1s2WD7-0005oP-41
 for submit <at> debbugs.gnu.org; Thu, 02 May 2024 09:10:56 -0400
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 <mattias.engdegard@HIDDEN>)
 id 1s2WCf-0006LG-Bc
 for bug-gnu-emacs@HIDDEN; Thu, 02 May 2024 09:10:25 -0400
Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mattias.engdegard@HIDDEN>)
 id 1s2WCc-0002DK-E2
 for bug-gnu-emacs@HIDDEN; Thu, 02 May 2024 09:10:25 -0400
Received: by mail-lf1-x135.google.com with SMTP id
 2adb3069b0e04-51f4d2676d1so451000e87.3
 for <bug-gnu-emacs@HIDDEN>; Thu, 02 May 2024 06:10:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1714655420; x=1715260220; darn=gnu.org;
 h=to:cc:date:message-id:subject:mime-version:from:sender:from:to:cc
 :subject:date:message-id:reply-to;
 bh=vwMKctJm77K+r5rPeK5xt/IzCUZm0Y7m1dagYztfxqU=;
 b=gz80ipVyb82cDbT4jUr8PqjseUxk2B1kEIPMLuUV3tELYQK/S+DOgFI87jEjcIY30i
 T9GNr+b8QsG/LVlYi86tuHARwAjY7Mx0YvO8+osqOyVnszkZfKYEmDVu/yhKEUzvs/E8
 X6doH4cvGtutDERV1WwYszfAnCXPnFbww4fyeCVr5fDeooW5LWDh+ApLYo7a+EvbD294
 GdbnqmXO68vS87mGMpXVDB6MqnXd1Er9lC/IHoSptYbR6e8GLw9Nr4tHJTyTiOly6TQU
 Rs5B20eRndW11KM0857G/BedhKz3GjcDBVeD1ztzzJFJ7NJyFRBm1f3pb2EhY8EVXt5u
 kH3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1714655420; x=1715260220;
 h=to:cc:date:message-id:subject:mime-version:from:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=vwMKctJm77K+r5rPeK5xt/IzCUZm0Y7m1dagYztfxqU=;
 b=oX1IXwMrQjlVv1MCSVlBKrPnVx16EOB8g8GiuL1wdIiXyGYqX1wLpNsOGOwaK0sjVh
 k5a+xcwj2P9mqbVcOLdkKVj0i5PVehBCpn56X7LUdyOjiAJgYzS/rXNcNZCFk1pZ9a3K
 80yqFMt0UehCO2wXMUJWyheWK6jhwhWAHCS495UKwO2Keqh6x/bd+MBwmgd4DbD2bCz/
 wjpU2eL2m7uwuu3ZhFeKL6DKGltUVRgyDq+0Hy31nObWwyWSE8fILsOhpJnjBNbx4t6E
 7MiOj3IjxcY35amkfk2UrAawLQ/bsvNfDvf/bjRPgY2ultdvXdaqMx226ZjCbHOEJtha
 FQog==
X-Gm-Message-State: AOJu0YxvMypaZw34VOO325h+OFc7XmEB0O8DWconSSLaNC+54rCftJNd
 /spTEbVTv2wIHNXDTRXwgkXiQgylwWmPyPdO6ZnAfA7cxBHAJk+PnYvY9Q==
X-Google-Smtp-Source: AGHT+IGm/NVNUlKk4yyREGco4YX6FFiwxdTZ8wSJx8LY+TglvcTPRlA+GoZyUbV07lqqahcvX6YWyw==
X-Received: by 2002:a19:5e1d:0:b0:51d:5e16:517a with SMTP id
 s29-20020a195e1d000000b0051d5e16517amr1161799lfb.48.1714655419487; 
 Thu, 02 May 2024 06:10:19 -0700 (PDT)
Received: from smtpclient.apple (c80-217-1-132.bredband.tele2.se.
 [80.217.1.132]) by smtp.gmail.com with ESMTPSA id
 p25-20020ac246d9000000b0051d2c376c0dsm166061lfo.286.2024.05.02.06.10.18
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 02 May 2024 06:10:19 -0700 (PDT)
From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>
Content-Type: multipart/mixed;
 boundary="Apple-Mail=_BB367BA3-478B-4923-B1DA-F989CA89DE9F"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Subject: flymake-cc creates `-.o` files
Message-Id: <A6AC5249-B8E8-439D-AA99-276DB7E880D6@HIDDEN>
Date: Thu, 2 May 2024 15:10:18 +0200
To: Emacs Bug Report <bug-gnu-emacs@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Received-SPF: pass client-ip=2a00:1450:4864:20::135;
 envelope-from=mattias.engdegard@HIDDEN; helo=mail-lf1-x135.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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


--Apple-Mail=_BB367BA3-478B-4923-B1DA-F989CA89DE9F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

`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?


--Apple-Mail=_BB367BA3-478B-4923-B1DA-F989CA89DE9F
Content-Disposition: attachment;
	filename=flymake-cc-null-output.diff
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="flymake-cc-null-output.diff"
Content-Transfer-Encoding: 7bit

diff --git a/lisp/progmodes/flymake-cc.el b/lisp/progmodes/flymake-cc.el
index 60e7da5d617..01f463454e9 100644
--- a/lisp/progmodes/flymake-cc.el
+++ b/lisp/progmodes/flymake-cc.el
@@ -95,9 +95,10 @@ flymake-cc-use-special-make-target
   (unless (executable-find "make") (error "Make not found"))
   `("make"
     "check-syntax"
-    ,(format "CHK_SOURCES=-x %s -c -"
+    ,(format "CHK_SOURCES=-x %s -c - -o %s"
              (cond ((derived-mode-p 'c++-mode) "c++")
-                   (t "c")))))
+                   (t "c"))
+             null-device)))
 
 (defvar-local flymake-cc--proc nil "Internal variable for `flymake-cc'.")
 

--Apple-Mail=_BB367BA3-478B-4923-B1DA-F989CA89DE9F--




Acknowledgement sent to Mattias Engdegård <mattias.engdegard@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70716; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 4 May 2024 11:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.