|
From: Ludovic R. <lud...@gm...> - 2010-06-27 14:39:31
|
Hello, I have the compilation warning: core.c: At top level: core.c:1594: warning: no previous prototype for ‘usbi_log_v’ The problem is that usbi_log_v() is declared in libusbi.h only for Windows. #if !defined(_MSC_VER) || _MSC_VER > 1200 blabla #else /* !defined(_MSC_VER) || _MSC_VER > 1200 */ void usbi_log_v(struct libusb_context *ctx, enum usbi_log_level level, const char *function, const char *format, va_list args); #endif Proposed patch attached. I just moved the declaration of usbi_log_v() outside the #if for MSC Thanks -- Dr. Ludovic Rousseau |