bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/4356] windres fails on files with spaces


From: tonyt at logyst dot com
Subject: [Bug binutils/4356] windres fails on files with spaces
Date: Sun, 25 Apr 2021 11:11:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=4356

Tony Theodore <tonyt at logyst dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tonyt at logyst dot com

--- Comment #29 from Tony Theodore <tonyt at logyst dot com> ---
(In reply to Eli Zaretskii from comment #25)
> Thanks, but this is incorrect usage: --preprocessor= doesn't support
> command-line arguments.  The command-line arguments should be passed via
> --preprocessor-arg=.

May be a little off-topic, but the windres docs[1] state:
  "This option may be used to specify the preprocessor to use, including any
leading arguments"

FFmpeg (probably similar to Haskell) use an invocation like:
  $(WINDRES) $(IFLAGS) --preprocessor "$(DEPWINDRES) -E -xc-header -DRC_INVOKED
$(CC_DEPFLAGS)"

I imagine this has been the expected behaviour until a different whitespace fix
recently[2].

Clarifying this change and the use of `--preprocessor-arg` going forward would
be helpful.

Cheers,

Tony


[1] https://sourceware.org/binutils/docs/binutils/windres.html
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=26865

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]