| Summary: | [Patch] Fix compiler warning for MinGW builds using libusb support | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ethan Lee <flibitijibibo> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
| Attachments: | Warning fix for MinGW hidapi build | ||
Patch added, thanks! https://hg.libsdl.org/SDL/rev/1daea6276f1b |
Created attachment 4249 [details] Warning fix for MinGW hidapi build Attached is a small patch to fix a warning for MinGW builds that both enable hidapi support and use the dynamic libusb support. The only time you would run into this is if all of the following conditions are met: - Build with MinGW, configured with --enable-hidapi - Dynamic libusb support is found and enabled - A GameCube adapter is connected on Windows and is running with the WinUSB device driver