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

Johannes Schindelin <johannes.schindelin at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannes.schindelin at gmx dot 
de

--- Comment #1 from Johannes Schindelin <johannes.schindelin at gmx dot de> ---
As I stated in
https://github.com/msys2/MSYS2-packages/issues/2379#issuecomment-801061261, the
common way to address this is type of issue is to require the path with spaces
to be quoted. Something like this:

windres --preprocessor '"c:\\Program Files\\gcc" -E "-Ic:\Path With
Spaces\include" -Dfoo'

That way, existing users of the `--preprocessor` option won't be broken, even
if they just wanted to recreate the default behavior
(https://sourceware.org/binutils/docs/binutils/windres.html claims that the
default value of `--preprocessor` is `gcc -E -xc-header -DRC_INVOKED`, but the
bug in question prevents that very value from ever being accepted correctly by
`windres`, it will misinterpret it as a path with spaces instead).

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

Reply via email to