| Summary: | SDL_image.h can't find SDL headers automagically | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | Nicolas Simonds <uqm> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | PowerPC | ||
| OS: | Mac OS X (All) | ||
| Attachments: | SDL_image.h.patch | ||
This is a larger discussion about expected usage of SDL headers. This will be evaluated with the SDL 1.3 release. |
Created attachment 293 [details] SDL_image.h.patch Apple's gcc gives you this bit of syntactic sugar for free; if you include headers in the form: #include <Some_Framework/some_header_file.h> ...the compiler will look in any relevant frameworks as well as the defined INCLUDE_PATH. If the SDL_image.framework headers are modified to use this style, it requires much less tinkering on the part of developers to get the think to compile/link. The attached patch throws in some good vibes for us Apple folk, while hopefully staying out of everyone else's way.