On Sun, Oct 14, 2012 at 2:35 AM, Ludovic Rousseau
<ludovic.rouss...@gmail.com> wrote:
>> I just tried your Xcode project file under Mac OS X Lion and it works
>> fine. There is a warning though.
>>
>> /Users/xiaofanc/work/libusbx/ludovic/libusbx/libusb/io.c:1877:35:
>> Implicit conversion loses integer precision: 'long' to 'int'
>>       timeout_ms = (tv->tv_sec * 1000) + (tv->tv_usec / 1000);
>
> It is fixed in 
> https://github.com/LudovicRousseau/libusbx/commit/1680d0d43a7b0caa3ad024f66729f33ec1a557f1
>
> I think this patch can go upstream.
>

Thanks. A few more issues. I do not quite understand 1),
I think 2) is not a real issue. 3) may need to be fixed.

1) Logic error
/Users/xiaofanc/work/libusbx/ludovic/libusbx/libusb/descriptor.c:561:8:
Function call argument is an uninitialized value

2) Apple Mach-0 Linker (ld) warning
(null): Directory not found for option
'-L/Users/xiaofanc/work/libusbx/ludovic/libusbx/libusb/.libs'

3) semantic issue
/Users/xiaofanc/work/libusbx/ludovic/libusbx/examples/ezusb.c:251:9:
Implicit conversion loses integer precision: 'unsigned long' to
'unsigned int'

-- 
Xiaofan

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to