🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.powerplant
Article #47

Re: More heads up: Carbon 1.2.5 GM + new Universal Headers 3.4 vs CW Pro 6.1

#47
From: MWRon
Date: Sat, 24 Feb 2001 21:24
42 lines
2836 bytes
In article <pteeson-410EDC.12564724022001@news1.rdc2.on.home.com>, Peter
Teeson <pteeson@HIShome.com> wrote:

>So clearly MW will need to give this some attention and it dosn't look 
>to be a very onerous task (just 6 errors). Maybe Greg Dow has already 
>done it for PP?

If you want to use PowerPlant with the UH 3.4 headers below is what you
need to do.

>Or did I miss something here?

You missed something,  you do not need to rebuild  SIOUX.carbon.lib it
does not use any new features of CarbonLib 1.2.5 so there is no need to
rebuild it.  If you do need to rebuild it for your own custom use, you
need to correct the errors yourself.

PowerPlant and Universal Headers  3.4

Apple changed some things in UH 3.4 that causes compiler errors in PP from CW6.

* Type of third parameter to SendControlMessage() changed from SInt32 to void*
Typecast third param to (void*) in LAMControlImp.cp

* NewXXXProc routines unsupported. Must now use NewXXXUPP routines.
Change calls to NewQDTextProc to NewQDTextUPP
Change calls to NewQDTextMeasProc to NewQDTextMeasUPP
Change calls to NewAEEventHandlerProc to NewAEEventHandlerUPP

* Second parameter to LClick changed from short to EventModifiers
Remove typecast of second param to (SInt16) in LListBox.cp

There might be other incompatibilities, too. Usually, a quick comparison 
of the old and new header files will indicate what needs to be changed.

Ron

-- 
                        GeekWare !!!
http://www.metrowerksstore.com/metrowerks/geekware.html

METROWERKS - Ron Liechty - MWRon@metrowerks.com
Technical Details
Message-ID: <mwron-2402011624110001@c243286-a.bcreek1.mi.home.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!xmission!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
References: <pteeson-410EDC.12564724022001@news1.rdc2.on.home.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,f73315c8031f45cd
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f98ee,f73315c8031f45cd
X-Google-Attributes: gidf98ee,public
X-Google-Thread: fed41,f73315c8031f45cd
X-Google-Attributes: gidfed41,public
X-Google-Thread: f635e,f73315c8031f45cd
X-Google-Attributes: gidf635e,public
X-Google-Thread: f7f77,f73315c8031f45cd
X-Google-Attributes: gidf7f77,public
X-Google-ArrivalTime: 2001-02-24 14:26:42 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!xmission!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: mwron@metrowerks.com (MWRon)
Newsgroups: comp.sys.mac.oop.powerplant,comp.sys.mac.programmer.codewarrior,comp.sys.mac.programmer.misc,comp.sys.mac.programmer.tools,codewarrior.mac
Subject: Re: More heads up: Carbon 1.2.5 GM + new Universal Headers 3.4 vs CW Pro 6.1
Date: Sat, 24 Feb 2001 16:24:11 -0500
Organization: Metrowerks
Lines: 42
Message-ID: <mwron-2402011624110001@c243286-a.bcreek1.mi.home.com>
References: <pteeson-410EDC.12564724022001@news1.rdc2.on.home.com>
NNTP-Posting-Host: p-523.newsdawg.com
X-Newsreader: MT-NewsWatcher 2.4.4