Re: [Libusbx-devel] Compiler warning for the libusbx fxload example

2013-04-01 Thread Pete Batard
On 2013.03.23 12:25, Xiaofan Chen wrote: > Under Ubuntu 12.10's MinGW-w64 64bit cross compiler > (gcc 4.6.3), there is a minor warning about the fxload > example. > > ../../examples/fxload.c:67:28: warning: declaration of ‘errcode’ > shadows a global declaration [-Wshadow] Thanks for the heads up.

[Libusbx-devel] Compiler warning for the libusbx fxload example

2013-03-23 Thread Xiaofan Chen
Under Ubuntu 12.10's MinGW-w64 64bit cross compiler (gcc 4.6.3), there is a minor warning about the fxload example. CC fxload-ezusb.o CC fxload-fxload.o ../../examples/fxload.c: In function ‘print_usage’: ../../examples/fxload.c:67:28: warning: declaration of ‘errcode’ shadows a global