[rt.cpan.org #104426] function was called with the wrong prototype and caused a C stack inconsistency
[email protected] ("Daniel Dragan via RT") Sun, 24 May 2015 17:41:02 -0400
| Newsgroups | perl.libwin32 |
|---|---|
| Message-ID | <[email protected]> |
Sun May 24 17:40:56 2015: Request 104426 was acted upon.
Transaction: Correspondence added by BULKDD
Queue: Win32-API
Subject: function was called with the wrong prototype and caused a C stack inconsistency
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=104426 >
On Tue May 19 06:41:36 2015, KMX wrote:
> Excellent, using -fno-schedule-insns2 works!
>
> Thanks a lot.
>
> --
> kmx
>
Instead of every new release of GCC (which happens in every release of Strawberry) breaking Win32::API for some reason or another, I changed the inline assembly to assembly code.
https://github.com/bulk88/perl5-win32-api/commit/9e25c21f1eeaf2563c59f91dd30bfc47ee901813
I am going to try to stick some more improvements in before releasing a 0.81, but if you want an immediate/emergency release of stable Win32::API with the GCC fix please let me know.