Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [GASPP PATCH] Omit "-g" from the preprocessing command with cl.exe
@ 2025-06-02  8:14 Martin Storsjö
  2025-06-04 13:54 ` Martin Storsjö
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Storsjö @ 2025-06-02  8:14 UTC (permalink / raw)
  To: ffmpeg-devel

This avoids warnings like

    cl : Command line warning D9002 : ignoring unknown option '-g'
---
 gas-preprocessor.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index aa3abc0..62c1a04 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -177,6 +177,7 @@ if ($as_type ne "armasm") {
     @preprocess_c_cmd = grep ! /^-FS/, @preprocess_c_cmd;
     @preprocess_c_cmd = grep ! /^-w/, @preprocess_c_cmd;
     @preprocess_c_cmd = grep ! /^-M/, @preprocess_c_cmd;
+    @preprocess_c_cmd = grep ! /^-g/, @preprocess_c_cmd;
 
     @gcc_cmd = grep ! /^-G/, @gcc_cmd;
     @gcc_cmd = grep ! /^-W/, @gcc_cmd;
-- 
2.43.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FFmpeg-devel] [GASPP PATCH] Omit "-g" from the preprocessing command with cl.exe
  2025-06-02  8:14 [FFmpeg-devel] [GASPP PATCH] Omit "-g" from the preprocessing command with cl.exe Martin Storsjö
@ 2025-06-04 13:54 ` Martin Storsjö
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Storsjö @ 2025-06-04 13:54 UTC (permalink / raw)
  To: ffmpeg-devel

On Mon, 2 Jun 2025, Martin Storsjö wrote:

> This avoids warnings like
>
>    cl : Command line warning D9002 : ignoring unknown option '-g'
> ---
> gas-preprocessor.pl | 1 +
> 1 file changed, 1 insertion(+)

Pushed.

// Martin
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-04 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-02  8:14 [FFmpeg-devel] [GASPP PATCH] Omit "-g" from the preprocessing command with cl.exe Martin Storsjö
2025-06-04 13:54 ` Martin Storsjö

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git