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 - Flag legacy functions as deprecated.
Summary: Flag legacy functions as deprecated.
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-09 23:49 UTC by Ryan C. Gordon
Modified: 2010-07-18 01:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. :)