GNU bug report logs -
#75939
bug in compile wrapper when using MSVC from Msys2
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Keep in mind that if this variable is appended to, each item must be separated by a semicolon. Something like this:
```
if test -n "${MSYS2_ARG_CONV_EXCL}"
then
MSYS2_ARG_CONV_EXCL="${MSYS2_ARG_CONV_EXCL};-Tp"
else
MSYS2_ARG_CONV_EXCL='-Tp'
fi
export MSYS2_ARG_CONV_EXCL
```
- Kirill Makurin
________________________________
From: Andrew W. Nosenko <andrew.w.nosenko <at> gmail.com>
Sent: Friday, January 31, 2025 4:49 PM
To: Karl Berry <karl <at> freefriends.org>
Cc: maiddaisuki <at> outlook.com <maiddaisuki <at> outlook.com>; 75939 <at> debbugs.gnu.org <75939 <at> debbugs.gnu.org>
Subject: Re: bug#75939: bug in compile wrapper when using MSVC from Msys2
What if user set this variable for some reasons like additional extra flags? So, it need to add flags to variable, not override it completely, at least.
Sent from mobile
On Fri, 31 Jan 2025 at 00:53, Karl Berry <karl <at> freefriends.org<mailto:karl <at> freefriends.org>> wrote:
Hi Kirill - thanks for the report and proposed fix.
export MSYS2_ARG_CONV_EXCL='-Tp'
Setting an environment variable seems fairly safe, since if an older
version of the compiler doesn't pay attention to it, at least the
problem will not become worse.
However, I'd like to hear from others who use msys, cl, Windows, etc.
(Since I don't), as to whether setting this in the compile script would
cause any problems. Anyone? --thanks, karl.
[Message part 2 (text/html, inline)]
This bug report was last modified 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.