How to turn off deprecated warnings

Have a question about our Software Developer Kit? Ask them here.
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1479
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: How to turn off deprecated warnings

Post by tonyw »

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
Post Reply