bug#75939: bug in compile wrapper when using MSVC from Msys2

2025-01-31 Thread Kirill Makurin
S2_ARG_CONV_EXCL ``` - Kirill Makurin From: Andrew W. Nosenko Sent: Friday, January 31, 2025 4:49 PM To: Karl Berry Cc: maiddais...@outlook.com ; 75...@debbugs.gnu.org <75...@debbugs.gnu.org> Subject: Re: bug#75939: bug in compile wrapper when using MS

bug#75939: bug in compile wrapper when using MSVC from Msys2

2025-01-30 Thread Andrew W. Nosenko
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 wrote: > Hi Kirill - thanks for the report and proposed fix. > > export MSYS2_A

bug#75939: bug in compile wrapper when using MSVC from Msys2

2025-01-30 Thread Karl Berry
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

bug#75939: bug in compile wrapper when using MSVC from Msys2

2025-01-29 Thread Kirill Makurin
Hi, I would like to report one quite annoying issue related to Automake's `compile` wrapper when it is used with `cl.exe` to compile some C++ files from Msys2. I was building some GNU packages with MSVC's `cl.exe`, and compilation of some C++ source files was failing with `cl.exe` reporting non