Sun Jun 20 03:57:56 2010: Request 58537 was acted upon. Transaction: Ticket created by DAMI Queue: Win32API-Net Subject: CAST in lvalue : compilation error under gcc 4.4.3 Broken in: 0.14 Severity: Critical Owner: Nobody Requestors: d...@cpan.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=58537 >
Win32API-Net fails to compile under gcc 4.4.3 (and hence under Strawberry Perl 5.12.1 beta) The reason is that a type cast is not considered as an lvalue and therefore gcc won't accept an assignment to it. The solution is to simply remove the (BYTE) typecasts on lvalues in HV_GET_AV definition (lines 593 and 595).