Re: Urgent gcc update to GCC 13.3

2024-07-15 Thread Csaba Ráduly via Cygwin
On 09/07/2024 08:17, Cedric Blancher via Cygwin wrote: I'd agree that newer gcc 13.x to compile Cygwin and as /usr/bin/gcc would be a very good idea, not only for performance+STL fixes, but also since by default the Cygwin distro lacks C++17 support, Huh? GCC supports C++17 since GCC 7 https:/

Re: Urgent gcc update to GCC 13.3

2024-07-16 Thread Csaba Ráduly via Cygwin
On 15/07/2024 22:44, Mark Liam Brown via Cygwin wrote: On Mon, Jul 15, 2024 at 9:35 PM Csaba Ráduly via Cygwin wrote: On 09/07/2024 08:17, Cedric Blancher via Cygwin wrote: I'd agree that newer gcc 13.x to compile Cygwin and as /usr/bin/gcc would be a very good idea, not only for perfor

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Csaba Ráduly via Cygwin
On 21/07/2024 05:57, Thomas Wolff via Cygwin wrote: Am 21.07.2024 um 01:54 schrieb Takashi Yano via Cygwin: On Sat, 20 Jul 2024 15:44:17 +0200 Mark Liam Brown wrote: I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use" changes with the la

Re: segfault on 32bit

2020-04-07 Thread Csaba Ráduly via Cygwin
On 07/04/2020 19:33, Marco Atzeri via Cygwin wrote: while trying to build the 32bit version on python, I hit this never seen before issue: checking for %zd printf() format support... make: *** No targets specified and no makefile found.  Stop. *** ERROR: make failed   4 [main] sh 18479 D:

Re: Missing new.h and broken comdef.h in cygwin32-w32api-headers (and the mingw header packages too)

2020-04-07 Thread Csaba Ráduly via Cygwin
On 07/04/2020 15:29, Hans de Ruiter via Cygwin wrote: Hi Hans, I've been trying to compile something that uses comutil.h, which in turn includes comip.h and comdef.h (amongst others). First, I get a missing header error: /usr/include/w32api/comip.h:21:10: fatal error: new.h: No such file or d

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Csaba Ráduly via Cygwin
Hi Paul, On 15/04/2020 12:29, Paul Moore via Cygwin wrote: I'm trying to write an automation script that works on a number of machines. I know that on all machines Cygwin will be installed, but I cannot guarantee that (1) it will be in the same location on each PC, or (2) that it will be in PATH

Re: What is wrong with the name excel?

2020-04-17 Thread Csaba Ráduly via Cygwin
Hi Gerlach, On 17/04/2020 13:10, Gerlach van Beinum via Cygwin wrote: I made a program to read a csv file from Excel. I called it excel.c and it made an executable excel.exe If irun that executable with: ./excel.exe nothing happens, i.i. no output. Try running it under gdb. You should get a be

Re: Symbol visibility problems with -std=

2020-05-13 Thread Csaba Ráduly via Cygwin
On 13/05/2020 14:12, Marco Atzeri via Cygwin wrote: Am 13.05.2020 um 12:21 schrieb Pavel Fedin via Cygwin: (snip code using strdup) $ g++ test.cpp -o test - compiles OK $ g++ test.cpp -o test -std=c++14 - error: 'strdup' was not declared in this scope; did you mean 'strcmp'? strdup is an

Re: help compilation qemu

2020-05-24 Thread Csaba Ráduly via Cygwin
Hi Juan Carlos, On 24/05/2020 02:08, Juan carlos Rebate via Cygwin wrote: ... 1 the compiler is extremely slow, gcc on Linux is about 10 times faster, How could I speed up the compilation process?. Unfortunately, Cygwin's emulation of fork() is slow compared to the native Linux implementat

Re: Linking a native msvc dll library to CYGWIN g++ compiler

2023-07-11 Thread Csaba Ráduly via Cygwin
On 11/07/2023 08:47, Mümin A. via Cygwin wrote: Hi, I'm facing a problem while linking my native dll library into the g++ compiler. There is a name mangling problem when calling a msvc function from g++ compiler therefore linker gives an error undefined reference. Is there any method to direct

Re: MULTIPLE VULNERABILITY REPORT: Multiple DLL Hijacking Vulnerability in CygWin setup-x86_64.exe

2024-02-11 Thread Csaba Ráduly via Cygwin
On 06/02/2024 23:10, Kaz Kylheku via Cygwin wrote: On 2024-02-04 21:22, Suman Chakraborty via Cygwin wrote: 1. Executive Summary: The vulnerability pertains to not finding the profapi.dll, CFGMGR32.dll, edputil.dll, urlmon.dll, SspiCli.dll, Wldp.dll, MPR.dll, ServicingCommon.dll, TextShaping.d

Re: Suggestion: [setup] Add an option to allow user to add "Open Cygwin Terminal Here" to Right-click menu

2024-02-15 Thread Csaba Ráduly via Cygwin
On 14/02/2024 21:00, Brian Inglis via Cygwin wrote: Surely you mean (-v displays confirmation): Don't call me Shirley :) Csaba -- Life is complex, with real and imaginary parts. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Docume

Re: native symlinks and non-existent targets

2024-04-29 Thread Csaba Ráduly via Cygwin
On 25/04/2024 15:15, Jon Turney via Cygwin wrote: On 24/04/2024 23:36, Christopher Layne via Cygwin wrote: [...] If it isn't true then this seems trivial to fix. This assertion is trivially disproven by the lack of a patch attached. :) I don't think this is worth a gold star, but a jester's

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-27 Thread Csaba Ráduly via Cygwin
On 26/05/2024 14:03, Adam Dinwoodie via Cygwin wrote: On Sun, 26 May 2024 at 05:10, David Dyck via Cygwin wrote: I upgraded to the most recent git and I get the following error ( stable2.45.1-1x86_648597 KiB2024-05-25 18:58 ) $ git clone -v https://github.com/lxml/lxml.git Cloning into 'lxml'.

Re: g++ 12 -std=gnu++20

2024-11-03 Thread Csaba Ráduly via Cygwin
On 03/11/2024 15:07, Brian Inglis via Cygwin wrote: One upstream refuses to support distros that do not support C++20 compilers, so curl and wget2 will hopefully continue to build with their current package! Both curl and wget2 are C-only, so they are not affected by the ABI change of std::st

Re: g++ 12 -std=gnu++20

2024-10-30 Thread Csaba Ráduly via Cygwin
On 30/10/2024 17:00, Dimitry Andric via Cygwin wrote: #include #include constexpr bool foo() { std::string str2{"abcwe"}; return str2.size()==5; } static_assert(foo()); int main() { assert(foo()); } Seems like _GLIBCXX_USE_CXX11_ABI is not defined by default. Csaba -- Life is comp

Re: procps can work

2024-12-18 Thread Csaba Ráduly via Cygwin
On 12/12/2024 08:22, Thomas Wolff via Cygwin wrote: https://imgur.com/a/V5KPWmc Please do not use image upload platforms that nerve us with an extremely bothersome cookie menu where you have to scroll down for 6 cookies to click off. (To the original author) It would be even better not to upl