Re: [Libusbx-devel] libusbx v1.0.15-rc2 is now available for testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
my compiler is Clang on MacOS 10.7.5.
I run
./configure  --disable-log --prefix=/opt/local
make  CFLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.6"
and here's the output:

Making all in libusb
  CC     libusb_1_0_la-core.lo
core.c:1755:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
                return (usbi_backend->caps && USBI_CAP_HAS_HID_ACCESS);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~
core.c:1755:30: note: use '&' for a bitwise operation
                return (usbi_backend->caps && USBI_CAP_HAS_HID_ACCESS);
                                           ^~
                                           &
core.c:1755:30: note: remove constant to silence this warning
                return (usbi_backend->caps && USBI_CAP_HAS_HID_ACCESS);
~^~~~~~~~~~~~~~~~~~~~~~~~~~
core.c:1757:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] return (usbi_backend->caps && USBI_CAP_SUPPORTS_DETACH_KERNEL_DRIVER); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core.c:1757:30: note: use '&' for a bitwise operation
return (usbi_backend->caps && USBI_CAP_SUPPORTS_DETACH_KERNEL_DRIVER);
                                           ^~
                                           &
core.c:1757:30: note: remove constant to silence this warning
return (usbi_backend->caps && USBI_CAP_SUPPORTS_DETACH_KERNEL_DRIVER);
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
core.c:1755:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
                return (usbi_backend->caps && USBI_CAP_HAS_HID_ACCESS);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~
core.c:1755:30: note: use '&' for a bitwise operation
                return (usbi_backend->caps && USBI_CAP_HAS_HID_ACCESS);
                                           ^~
                                           &
core.c:1755:30: note: remove constant to silence this warning
                return (usbi_backend->caps && USBI_CAP_HAS_HID_ACCESS);
~^~~~~~~~~~~~~~~~~~~~~~~~~~
core.c:1757:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] return (usbi_backend->caps && USBI_CAP_SUPPORTS_DETACH_KERNEL_DRIVER); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core.c:1757:30: note: use '&' for a bitwise operation
return (usbi_backend->caps && USBI_CAP_SUPPORTS_DETACH_KERNEL_DRIVER);
                                           ^~
                                           &
core.c:1757:30: note: remove constant to silence this warning
return (usbi_backend->caps && USBI_CAP_SUPPORTS_DETACH_KERNEL_DRIVER);
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
  CC     libusb_1_0_la-descriptor.lo
  CC     libusb_1_0_la-io.lo
  CC     libusb_1_0_la-sync.lo
  CC     libusb_1_0_la-darwin_usb.lo
  CC     libusb_1_0_la-threads_posix.lo
  CCLD   libusb-1.0.la

best regards,
nicolas

Le 03/04/13 21:28, Pete Batard a écrit :
Hi,

The 2nd release candidate for libusbx v1.0.15 is now available at
http://sourceforge.net/projects/libusbx/files/releases/1.0.15/source/

This version brings the following improvements:
* Improve tranfer cancellation and avoid short read failures on broken
    descriptors
* Filter out 8-bit characters in libusb_get_string_descriptor_ascii()
* Add WinCE support
* Add library stress tests
* Add FX3 firmware upload support for fxload
* Add HID and kernel driver detach support capabilities detection
* Add SuperSpeed detection on OS X
* Don't assume an high speed for isochronous or an interval or 1 on OS X
* Fix issues with autoclaim, composite HID devices, interface autoclaim
    and early abort in libusb_close() on Windows. Also add VS 2012
    solution files.
* Improve fd event handling on Linux
* Other bug fixes and improvements

For more details, please see the libusbx git log at:
https://github.com/libusbx/libusbx/commits/master

If you have an application relying on libusb or libusbx, or are a
distribution maintainer, you are encouraged to test this RC and report
any issues to the libusbx mailing list before the planned release due on
2013.04.14.

For more info, please visit http://libusbx.org

Regards,

/Pete

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
libusbx-devel mailing list
libusbx-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/libusbx-devel


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux