On Sat, Jun 16, 2012 at 2:08 AM, Pete Batard <p...@akeo.ie> wrote: > It is my pleasure to announce the release of libusbx v1.0.12.
Great. Since you mentioned clang quite a bit, so I tried to build this one under Mac OS X with Apple's clang compiler and it seems to be okay. CC=clang ./configure --enable-examples-build mymacmini:libusbx-1.0.12 xiaofanc$ make make all-recursive Making all in libusb CC libusb_1_0_la-core.lo 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 Making all in doc make[2]: Nothing to be done for `all'. Making all in examples CC listdevs.o CCLD listdevs clang: warning: argument unused during compilation: '-std=gnu99' CC xusb.o CCLD xusb clang: warning: argument unused during compilation: '-std=gnu99' CC dpfp.o CCLD dpfp clang: warning: argument unused during compilation: '-std=gnu99' CC dpfp_threaded-dpfp_threaded.o CCLD dpfp_threaded clang: warning: argument unused during compilation: '-std=gnu99' make[2]: Nothing to be done for `all-am'. -std=gnu99 warning does not seem to be a problem to me. When using Apple's llvm based gcc 4.2.1 (default) and the Apple gcc 4.2.1, no warnings. Using non-Apple gcc 4.6 (from Homebrew) and it failed. But this is not a problem for libusbx since it failed on Apple's header file. CC libusb_1_0_la-darwin_usb.lo In file included from /System/Library/Frameworks/IOKit.framework/Headers/usb/IOUSBLib.h:27:0, from os/darwin_usb.c:46: /System/Library/Frameworks/IOKit.framework/Headers/usb/USB.h:591:9: error: too many #pragma options align=reset /System/Library/Frameworks/IOKit.framework/Headers/usb/USB.h:609:9: error: too many #pragma options align=reset /System/Library/Frameworks/IOKit.framework/Headers/usb/USB.h:629:9: error: too many #pragma options align=reset make[2]: [libusb_1_0_la-darwin_usb.lo] Error 1 (ignored) mv: rename .deps/libusb_1_0_la-darwin_usb.Tpo to .deps/libusb_1_0_la-darwin_usb.Plo: No such file or directory make[2]: [libusb_1_0_la-darwin_usb.lo] Error 1 (ignored) -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel