Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
20 crawler(s) on-line.
 165 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Gunnar:  34 mins ago
 pixie:  53 mins ago
 DiscreetFX:  1 hr 33 mins ago
 DWolfman:  1 hr 42 mins ago
 cncparts:  3 hrs 15 mins ago
 saipaman4366:  4 hrs 1 min ago
 Beajar:  4 hrs 21 mins ago
 Rob:  4 hrs 23 mins ago
 agami:  5 hrs 26 mins ago
 RobertB:  5 hrs 46 mins ago

/  Forum Index
   /  Amiga Development
      /  Deprecated functions and gcc
Register To Post

PosterThread
thinkchip 
Deprecated functions and gcc
Posted on 15-Apr-2016 2:13:35
#1 ]
Super Member
Joined: 26-Mar-2004
Posts: 1183
From: Salt Lake City, Utah, USA

I've used Cubic IDE for years. I appreciate the integrated environment. It's been a very long time since it was updated. After considerable tinkering I got the latest SDK (53.30) to work with it. Now I'm getting dozens of warnings about "deprecated" functions. It looks like they are mostly memory related. I'm wondering if anyone can tell me why these functions are deprecated. Also, can these warnings be suppressed when compiling with gcc.

_________________
X5000 / microA1(OS4.1 FE U2) / CodeBench / Imagine / Blender
Lightwave 2019 / Microsoft Visual C++

 Status: Offline
Profile     Report this post  
Hans 
Re: Deprecated functions and gcc
Posted on 15-Apr-2016 3:08:08
#2 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5066
From: New Zealand

@thinkchip

Quote:

thinkchip wrote:
... I'm wondering if anyone can tell me why these functions are deprecated...

Which functions are we talking about?

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  
TheAMIgaOne 
Re: Deprecated functions and gcc
Posted on 15-Apr-2016 9:35:11
#3 ]
Cult Member
Joined: 10-Jan-2004
Posts: 776
From: United Kingdom

@thinkchip

is it relating to the use of default C malloc rather than IExec->AllocMem()

Edit,

Oh seems IExec->AllocMem() has now been replaced with IExec->AllocVecTags()

Last edited by TheAMIgaOne on 15-Apr-2016 at 10:38 AM.
Last edited by TheAMIgaOne on 15-Apr-2016 at 09:38 AM.
Last edited by TheAMIgaOne on 15-Apr-2016 at 09:38 AM.

_________________
Cross-developer on Windows, OS3, OS4, Linux; Current Projects:-
Nephele Cloud App OS4
UserProfile System OS4
AmigaOneXE OS4.1.6

TaoSoftwareBlog Youtube

 Status: Offline
Profile     Report this post  
kamelito 
Re: Deprecated functions and gcc
Posted on 15-Apr-2016 10:04:57
#4 ]
Cult Member
Joined: 26-Jul-2004
Posts: 813
From: Unknown

@thinkchip

Just in case : http://wiki.amigaos.net/wiki/Deprecated_Functions

Kamelito

 Status: Offline
Profile     Report this post  
Trixie 
Re: Deprecated functions and gcc
Posted on 15-Apr-2016 13:59:03
#5 ]
Amiga Developer Team
Joined: 1-Sep-2003
Posts: 2089
From: Czech Republic

@TheAMIgaOne

Quote:
Oh seems IExec->AllocMem() has now been replaced with IExec->AllocVecTags()

AllocVecTags() was introduced some fifteen years ago, and AllocMem() wasn't recommended for use even in OS3.x times AFAIR.

_________________
The Rear Window blog

AmigaOne X5000/020 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition

 Status: Offline
Profile     Report this post  
eliyahu 
Re: Deprecated functions and gcc
Posted on 15-Apr-2016 15:23:02
#6 ]
Super Member
Joined: 3-Mar-2010
Posts: 1957
From: Waterbury, Connecticut (USA)

@kamelit0

Quote:
Just in case : http://wiki.amigaos.net/wiki/Deprecated_Functions

thanks for pointing that out. i put that together (along with the wiki-based release notes) just before the most recent SDK shipped. if anyone has anything they'd like to add/change/clarify but don't already have wiki write-permissions, please feel free to send them my way via PM. thanks!

-- eliyahu

Last edited by eliyahu on 15-Apr-2016 at 03:23 PM.

_________________
"Physical reality is consistent with universal laws. When the laws do not operate, there is no reality. All of this is unreal."

 Status: Offline
Profile     Report this post  
Hypex 
Re: Deprecated functions and gcc
Posted on 15-Apr-2016 16:40:48
#7 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@Trixie

Has OS4 been around that long? Must have been kept a secret before it got out in public. My developer pre-release is around 12 now. How time flies!

 Status: Offline
Profile     Report this post  
kamelito 
Re: Deprecated functions and gcc
Posted on 16-May-2016 13:01:31
#8 ]
Cult Member
Joined: 26-Jul-2004
Posts: 813
From: Unknown

@eliyahu

I just notice that it is not deprecated functions anymore but deprecated or renamed which is not good IMO.
Let's say someone wanna support also OS 3.x how does he know what to do? They should have added a column to be able to tag if it's deprecated or renamed.
Kamelito

Last edited by kamelit0 on 16-May-2016 at 01:02 PM.
Last edited by kamelit0 on 16-May-2016 at 01:02 PM.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle