Mon Sep 18 12:30:20 2006craig [...] deforest.org - Ticket created
Subject:
0.18 doesn't compile
Date:
Mon, 18 Sep 2006 00:32:38 -0600
To:
bug-Device-USB [...] rt.cpan.org
From:
zowie <craig [...] deforest.org>
The latest version of Device-USB won't compile under perl 5.8.5 on
BSD and, I suspect, other platforms as well. The problem is some
debugging statements that have been added to libusb_control_msg;
these statements appear above a C variable declaration and hence
prevent the inline C code from compiling.
Tue Sep 19 07:48:49 2006cpan.wade [...] anomaly.org - TimeEstimated changed from (no value) to '60'
Tue Sep 19 07:48:50 2006cpan.wade [...] anomaly.org - TimeWorked changed from (no value) to '30'
Tue Sep 19 07:48:51 2006cpan.wade [...] anomaly.org - Status changed from 'new' to 'resolved'
Tue Sep 19 07:48:55 2006cpan.wade [...] anomaly.org - Given to GWADEJ
Apparently, GCC was allowing variable declaration after statements as an
extension. I've been in C++ for so long I didn't notice it.
Thanks for pointing it out. The problem is fixed now on CPAN with
version 0.19.
G. Wade
Tue Sep 19 07:54:32 2006cpan.wade [...] anomaly.org - Status changed from 'open' to 'resolved'