Re: Darwin 8.0 Source Code Available
Re: Darwin 8.0 Source Code Available
- Subject: Re: Darwin 8.0 Source Code Available
- From: Dean Reece <email@hidden>
- Date: Sat, 30 Apr 2005 10:15:50 -0700
On Apr 30, 2005, at 8:52 AM, Sean McBride wrote:
Dean Reece (email@hidden) on 2005-04-30 04:29 said:
You need to use gcc 3.3 to build the kernel and associated projects.
Why? (just curious) Is it because of C++ ABI changes?
Fortunately, the ABI remains compatible (partly due to a few nips &
tucks from our compiler team). Gcc4.0 is much more strict about C++
and disallows several things that were allowed (though warned about)
in gcc3.3.
This particular build failure was due to an illegal cast from a
method to a function pointer. We added the function
OSMemberFunctionCast() in libkern/c++/OSMetaClass.h to handle this
cast safely, but we didn't get around to using it everywhere yet.
On Apr 30, 2005, at 8:30 AM, Timothy J.Wood wrote:
Shouldn't xnu specify gcc 3.3 in it's Makefile, then? It seems
rather overbearing of xnu to require the developer to switch their
default compiler (might be building other stuff too...)
Perhaps, but I think you'll find that most of the Darwin projects
expect to be built with gcc3.3.
Cheers,
- Dean
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden