Tue Aug 17 20:07:23 2010: Request 58537 was acted upon.
Transaction: Correspondence added by BURAK
Queue: Win32API-Net
Subject: CAST in lvalue : compilation error under gcc 4.4.3
Broken in: 0.14
Severity: Critical
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=58537 >
20 Jun 2010 Sun, 03:57:56 tarihinde, DAMI yazdı:
> 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).
I second the patch request. The suggested patch seems to work. This is
also a showstopper for any other module depending on Win32API::Net