On Tue, Sep 21, 2010 at 12:34 AM, Spencer Oliver <[email protected]> wrote: > If mingw-64 are already using usb.h then that creates a bit of a problem for > any interface that is expecting libusb usb.h. > > The only safe solution would be to use a subdirectory for libusb/libftdi if > mingw64 will not change their layout. >
Even that may not be safe enough. For example libftdi's ftdi.h include <usb.h> and the compiler may use MinGW-w64's usb.h instead of libusb-win32 usb.h. The MinGW-w64 people are suggesting include_next trick. I need to check if that really works. http://www.mail-archive.com/[email protected]/msg01913.html -- Xiaofan _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
