| Summary: | 1.2-branch iconv changes breaks compilation | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ozkan Sezer <sezeroz> |
| Component: | main | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sol11x86 |
| Version: | HG 1.2 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | iconv compilation fix | ||
|
Description
Ozkan Sezer
2007-03-23 01:32:56 UTC
Created attachment 202 [details]
iconv compilation fix
Fixed in svn revision #3002. Thanks! --ryan. *** Bug 407 has been marked as a duplicate of this bug. *** Bug 407 actually has the correct fix for this bug. They're complaining about mismatched SDL prototypes, not mismatched iconv() prototypes. Nevermind... There are conflicting standards on iconv(), and the current one is char **, not const char ** I'm not sure why this is, but I'm changing the SDL version to be consistent. For reference: http://lists.debian.org/debian-glibc/2004/05/msg00006.html On second thought, making the parameter const is what we need for SDL's purposes (see SDL_iconv_string()) For those platforms that actually require a writable inbuf, I'm going to copy the string into stack memory. Hopefully this won't be necessary very often. |