| Summary: | src/stdlib/SDL_iconv.c and include/SDL_stdinc.h have mismatching defintionts for SDL_iconv | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ben Taylor <sol11x86> |
| Component: | thread | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | x86 | ||
| OS: | Solaris | ||
Please stop resolving bugs as WORKSFORME, it doesn't mean what you think it does. Reopening bug. --ryan. |
Having configured libSDL on Solaris 10/U3 X86 with: env CFLAGS="-DNO_SDL_GLEXT" ./configure --prefix=/tmp/local --disable-joystick --enable-threads the make fails on src/stdlib/SDL_iconv.c and include/SDL_stdinc.h with mismatching definitions. Interestingly enough, there were two other definitions that had been corrected between current SVN and the Jan4 update. --- ../SDL-1.2.Jan4/src/stdlib/SDL_iconv.c 2007-01-22 23:48:28.000000000 -0500 +++ src/stdlib/SDL_iconv.c 2007-03-04 10:57:34.716637000 -0500 @@ -31,7 +31,7 @@ #include <errno.h> size_t SDL_iconv(SDL_iconv_t cd, - char **inbuf, size_t *inbytesleft, + const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) { size_t retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft);