How to turn off deprecated warnings

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

Re: How to turn off deprecated warnings

Postby tonyw » Sat Jun 20, 2015 2:38 pm

If an Object can be created or released by a call to IExec->AllocSysObject(), then it is best to use that means to get a new Object.
The old CreateMsgPort() nowadays calls AllocSysObjectTags(ASOT_PORT, ...), so it is slower anyway.

The same goes for DOS Objects. Use the preferred means if you want to keep up with evolution.

[edit: Fixed function nameS]
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1240
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Previous

Return to SDK Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron