| Summary: | games-strategy/warmux-11.04.1 - In constructor ‘Action::Action(const char*, DistantComputer*)’: ./action/action.cpp:88:18: error: reinterpret_cast from type ‘const char*’ to type ‘Uint32* {aka unsigned int*}’ casts away qualifiers | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Jansa <Martin.Jansa> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dirk, jorgeml |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
warmux-11.04.01-sdl-net.patch
Build log |
||
Created attachment 306851 [details, diff]
warmux-11.04.01-sdl-net.patch
Created attachment 308927 [details]
Build log
I have the same issue, I am attaching the build.log file.
in portage. I assume it fixes things for you since I'm using the stable gcc here. |
./action/action.cpp: In constructor ‘Action::Action(const char*, DistantComputer*)’: ./action/action.cpp:88:18: error: reinterpret_cast from type ‘const char*’ to type ‘Uint32* {aka unsigned int*}’ casts away qualifiers make[3]: *** [action.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/tmp/tmpfs/portage/games-strategy/warmux-11.04.1/work/warmux-11.04/lib/warmux' I'll attach simple patch to fix this, not sure if it is caused by newer sdl-net or gcc or even if the patch is correct, but at least it builds now. Reproducible: Always