Re: [Mingw-w64-public] winpthreads and MSVC

2025-01-30 Thread Kirill Makurin
public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] winpthreads and MSVC On 1/30/25 3:02 AM, Kirill Makurin wrote: > Yes, no problem. > > I also had a patch for Makefile.am which tried to solve the alias issue by > copying `[lib]winpthreads[.dll].{lib|a}` as `[lib]pthread[.dll].

Re: [Mingw-w64-public] winpthreads and MSVC

2025-01-30 Thread Kirill Makurin
I think `"pthread_time.h"` makes more sense when including headers from the source tree? From: LIU Hao Sent: Friday, January 31, 2025 3:57 PM To: Kirill Makurin; mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] winpthreads and MS

Re: [Mingw-w64-public] winpthreads and MSVC

2025-01-30 Thread Kirill Makurin
using `clock_gettime` is that if it somehow breaks, it will also make this test to fail. From: LIU Hao Sent: Friday, January 31, 2025 3:07 PM To: mingw-w64-public@lists.sourceforge.net; Jonathan Yong; Kirill Makurin Subject: Re: [Mingw-w64-public] winpthreads and MSVC 在 2025-

Re: [Mingw-w64-public] winpthreads and MSVC

2025-01-29 Thread Kirill Makurin
:58 PM, Kirill Makurin wrote: > Hi, > > I was writing to the list a few months ago regarding building of winpthreads > with MSVC tools. I also sent a few patches back then, none of which were > pushed. The first two patches were fixing a syntax error in `src/thread.h` > and linking

[Mingw-w64-public] winpthreads and MSVC

2025-01-29 Thread Kirill Makurin
as a subproject, which will allow projects to use POSIX threads even when building with MSVC. - Kirill Makurin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] _access with X_OK always fails

2024-12-07 Thread Kirill Makurin
``` _access(filename, X_OK) ``` will always return -1 and set errno to EINVAL. Windows does not use execution permissions for files. Maybe it would make sense to define X_OK to the same value as R_OK? - Kirill Makurin ___ Mingw-w64-public mailing list Mingw

Re: [Mingw-w64-public] Building winpthreads with MSVC tools

2024-11-13 Thread Kirill Makurin
read.la to construct alias filenames seems convenient, but it probably has to be tested every time new version of libtool is used. - Kirill Makurin From: JonY via Mingw-w64-public Sent: Wednesday, November 13, 2024 9:22 AM To: mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] Building winpthreads with MSVC tools

2024-11-12 Thread Kirill Makurin
t will create actual symbolic links, but native (non-cygwin/msys2) programs cannot read them. - Kirill Makurin From: Antonin Décimo Sent: Thursday, November 7, 2024 8:36 PM To: mingw-w64-public@lists.sourceforge.net ; Kirill Makurin Subject: Re: [Mingw-w64-public]

[Mingw-w64-public] Building winpthreads with MSVC tools

2024-11-06 Thread Kirill Makurin
ch may fail if CC has value like "cl.exe -nologo -std:c11". Try to compile and check whether macro _MSC_VER is defined may be more robust. I may write a patch for this as well. * Kirill Makurin From 2d0ef83e3981ebf91fc81f9c48018d2a7fa4fe78 Mon Sep 17 00:00:00 2001 From: Kirill M