在 2024-10-08 23:10, Antonin Décimo 写道:
My mingw-w64 12.0.4 reports a warning:
-Wprio-ctor-dtor
Do not warn if a priority from 0 to 100 is used for constructor or
destructor. The use of constructor and destructor attributes allow you
to assign a priority to the constructor/destructor to control
My mingw-w64 12.0.4 reports a warning:
-Wprio-ctor-dtor
Do not warn if a priority from 0 to 100 is used for constructor or
destructor. The use of constructor and destructor attributes allow you
to assign a priority to the constructor/destructor to control its
order of execution before main is cal
在 2024-09-10 00:00, lephilouso...@gmail.com 写道:
This bug can be fixed by setting a priority of 0 to the
winpthreads_constructor. It is then called before the static
constructors.
Thanks for the patch. This looks correct so I have pushed it to master now.
--
Best regards,
LIU Hao
OpenPGP_si
From: Le Philousophe
Hello,
Here is a patch which fixes bugs #988 and #992 following the commit
7b3379.
This commit introduced a new function winpthreads_init in charge of
setting up the _pthread_get_system_time_best_as_file_time and
_pthread_get_tick_count_64
pointers using a runtime detection