AutoDocs Obsoletes

Have a question about our Software Developer Kit? Ask them here.

AutoDocs Obsoletes

Postby JosDuchIt » Sat Jul 09, 2011 3:17 pm

I did a search on the Autodocs for 'obsolete' and edited this a little.
The result can be found in
Working on a similar "deprecated" file and an "obsolete & deprecated file"

I did not find till now how bith terms have to be interpreted.
Some standardisation in where and how those terms are used in the autodocs will surely not harm.

Very glad anyway for this forum.
Posts: 291
Joined: Sun Jun 26, 2011 6:47 pm

Re: AutoDocs Obsoletes

Postby tonyw » Thu Jul 14, 2011 2:18 am

Both terms mean "This is old and out of date, don't use it in any new code. It will continue to be supported so that old programs will still run."

"Deprecated" has the additional property that it raises a Warning when gcc attempts to compile it. If you have -Werror in your gcc command line, then the "Deprecated" warning will be treated as an error and the compilation will not succeed until you remove the reference to the deprecated function by replacing it with the new approved version.

All OS4 system software is supposed to be compiled with this -Werror flag. There are a few old components that would need a lot of work to fix, but nearly all obey this rule: all Warnings are to be treated as Errors.
User avatar
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1396
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Return to SDK Support

Who is online

Users browsing this forum: No registered users and 1 guest