We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 690

Summary: SDL_image.h can't find SDL headers automagically
Product: SDL_image Reporter: Nicolas Simonds <uqm>
Component: miscAssignee: 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

Description Nicolas Simonds 2009-02-03 11:31:50 UTC
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.
Comment 1 Sam Lantinga 2009-09-26 01:37:57 UTC
This is a larger discussion about expected usage of SDL headers.
This will be evaluated with the SDL 1.3 release.