On Sun, Jan 12, 2014 at 10:22 AM, Xiaofan Chen <xiaof...@gmail.com> wrote: > Nice. I just carried some simple tests under Mac OS X 10.9.1 (Mac > Mini 2011) and NetBSD 6.1.1 (VirtualBox VM) using libusbx-1.0.18-rc1 > and both are fine. > > For NetBSD, there are three known warnings about "dereferencing > type-punned pointer will break strict-aliasing rules" in > os/netbsd_usb.c:643:2, 644:2 and 645:2 in function > _sync_control_transfer. But as Pete mentioned before, as long > as there are no NetBSD users who can come out and fix the > warnings, we will leave them as they are now. It could be > related to the gcc version as well (4.5.3 NetBSD nb2 20110806).
I have just tested the libusb 1.0.18-rc1 under a snapshot release of OpenBSD 5.4 (not yet installed the official 5.4 release yet) and it seems to work fine. There is a warning though. Not so sure if it is worth fixing. CCLD xusb xusb.o(.text+0x1b8b): In function `test_device': /home/mcuee/Desktop/build/libusbx/libusb-1.0.18-rc1/examples/xusb.c:173: warning: sprintf() is often misused, please use snprintf(). The gcc version there is pretty old (4.2.1 20070719). -- Xiaofan ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel