On 2013.06.27 19:33, Hans de Goede wrote:
> I think the attach patch should fix it. Any chance you could give it a try?

Tested. Same failure. This isn't the issue (though yes, we want to fix 
that too).
The issue, as I pointed in my last e-mail, is 
https://github.com/libusbx/libusbx/blob/master/libusb/libusbi.h#L455
__GCC__ is not defined in my cywgin environment (and presumably others), 
and neither are _snprintf or _vsnprintf, hence the issue.

We could have a quick and dirty fix that adds && !defined(__CYGWIN__) 
(or whatever the cygwin alias is), but then there's 
https://github.com/libusbx/libusbx/blob/master/libusb/libusbi.h#L443 
with the exact same condition, that needs to be investigated, because
1. We should able able to factorize that _snprintf or _vsnprintf stuff in
2. We're probably not doing what we actually want to do for 
usbi_gettimeofday on cygwin

This needs to be investigated carefully and tested. I'm still planning 
to do just that, but I don't know when.

Regards,

/Pete

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to