| Summary: | Compiler warnings: "warning: initialization discards ‘const’ qualifier from pointer target type" | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | trivial | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.0 | Keywords: | target-2.0.4 |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | Patch that fixes the compile warnings | ||
This patch is now https://hg.libsdl.org/SDL/rev/64f0929bcd2e, thanks! --ryan. |
Created attachment 2174 [details] Patch that fixes the compile warnings /home/mgerhardy/dev/caveexpress/src/libs/SDL/src/core/linux/SDL_udev.c:36:1: warning: initialization discards ‘const’ qualifier from pointer target type static char* SDL_UDEV_LIBS[] = { "libudev.so.1", "libudev.so.0" }; /home/mgerhardy/dev/caveexpress/src/libs/SDL/src/core/linux/SDL_evdev.c:345:5: warning: initialization discards ‘const’ qualifier from pointer target type "/proc/self/fd/0", ^