Skip Menu |

This queue is for tickets about the Device-USB CPAN distribution.

Report information
The Basics
Id: 21548
Status: resolved
Estimated: 1 hour (60 min)
Worked: 1 hour (60 min)
Priority: 0/
Queue: Device-USB

People
Owner: cpan.wade [...] anomaly.org
Requestors: craig [...] deforest.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.14
  • 0.15
  • 0.16
  • 0.17
  • 0.18
Fixed in: 0.19



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.
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