Re: [Mingw-w64-public] Default library order breaks backward compatibility with older versions of Windows

2022-04-28 Thread LIU Hao
在 2022-04-28 23:55, Corinna Vinschen 写道: But then again, this seems to be a bug in the w32api import libs, rather than a problem with the toolchain, no? Yes; and similar issues did happen some times before, such as in these commits: * 68d0e7d551d2e2a5b8a15bdca3f8d15fc097ed01 * 65042f860

Re: [Mingw-w64-public] Default library order breaks backward compatibility with older versions of Windows

2022-04-28 Thread Christian Franke
Hi Corinna, Corinna Vinschen wrote: On Apr 28 17:34, Corinna Vinschen wrote: Hi Christian, On Apr 28 17:24, Christian Franke wrote: For some unknown reason, certain functions from advapi32.dll are now also exported by the kernel32.dll of recent Windows versions. To provide backward compatibil

Re: [Mingw-w64-public] Default library order breaks backward compatibility with older versions of Windows

2022-04-28 Thread Corinna Vinschen
On Apr 28 17:34, Corinna Vinschen wrote: > Hi Christian, > > On Apr 28 17:24, Christian Franke wrote: > > For some unknown reason, certain functions from advapi32.dll are now also > > exported by the kernel32.dll of recent Windows versions. To provide backward > > compatibility, -ladvapi32 must oc

Re: [Mingw-w64-public] Default library order breaks backward compatibility with older versions of Windows

2022-04-28 Thread Corinna Vinschen
Hi Christian, On Apr 28 17:24, Christian Franke wrote: > For some unknown reason, certain functions from advapi32.dll are now also > exported by the kernel32.dll of recent Windows versions. To provide backward > compatibility, -ladvapi32 must occur before -lkernel32 in the linker > command, but th

[Mingw-w64-public] Default library order breaks backward compatibility with older versions of Windows

2022-04-28 Thread Christian Franke
For some unknown reason, certain functions from advapi32.dll are now also exported by the kernel32.dll of recent Windows versions. To provide backward compatibility, -ladvapi32 must occur before -lkernel32 in the linker command, but this is not the case by default: Testcase with current packag