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 836

Summary: Flag legacy functions as deprecated.
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Linux   

Description Ryan C. Gordon 2009-10-09 23:49:16 UTC
Functions in SDL_compat.h should be flagged as deprecated, so GCC can complain loudly when they are used.

http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Function-Attributes.html#Function%20Attributes

I don't think any compilers but gcc offer something like this, but maybe there's a Visual C #pragma or something?

--ryan.
Comment 1 Ryan C. Gordon 2009-10-09 23:49:51 UTC
Tossing bug to Sam.

--ryan.
Comment 2 Sam Lantinga 2010-07-18 01:17:53 UTC
We're going to support the SDL 1.2 single window interface for a while yet, so we won't complain too loudly for now. :)