Article View: comp.sys.mac.programmer.codewarrior
Article #1207Problems with macho tools in thrill seekers
From: Adam Skwersky
Date: Sat, 19 May 2001 08:07
Date: Sat, 19 May 2001 08:07
41 lines
2730 bytes
2730 bytes
Hi,
I know the macho tools are not for production, but if you put them on a
CD-ROM I expect them to work.
In the stationery readme, it says the there are no known issues, EXCEPT
that Carbon cannot be linked into the project. So how do you expect us to
get the stationery working if we can't even link in the carbon framework?
I tried the C++ Mac mach-o stationery and I'm getting link errors for
symbols that ought to be in carbon.
Another issue is the compilers and linkers seem to be buggy.
in some of my classes I have methods like these in the headers:
virtual var_type functionname() {}
virtual var_type functionname2() {return var;}
These always cause "multiple definition of functionname" errors when you try
to link.
It only happens when they the methods are "virtual". I can work around
this by moving the definition into the .cpp file. Non-virtual inlines
don't cause this error message.
This source compiles fine as a CFM Carbon app in Metrowerks.
I am also getting a number of multiple definition errors for
_dt_classnames (destructors??). In some cases it is because I have
virtual ~classname() {}
but in other cases the classes don't even have a destructor so I dont
know how to work around it.
I am eagerly awaiting the early release tools and I hope I can download them
off the net because I'm in a hurry! I hope the above problems were fixed
or you have more documentation telling me what I'm doing wrong :)
Adam
askwersky@worldnet.att.net
Technical Details
Message-ID:
<B72BA246.1E63%askwersky@worldnet.att.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,6fff753dba6a0626,start X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,6fff753dba6a0626,start X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2001-05-19 01:07:42 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Subject: Problems with macho tools in thrill seekers From: Adam Skwersky <askwersky@worldnet.att.net> Newsgroups: comp.sys.mac.programmer.codewarrior,askwersky@worldnet.att.net,codewarrior.mac Message-ID: <B72BA246.1E63%askwersky@worldnet.att.net> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Lines: 42 Date: Sat, 19 May 2001 08:07:42 GMT NNTP-Posting-Host: 12.91.48.91 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 990259662 12.91.48.91 (Sat, 19 May 2001 08:07:42 GMT) NNTP-Posting-Date: Sat, 19 May 2001 08:07:42 GMT Organization: AT&T Worldnet