Re: Darwin 8.0 Source Code Available
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Cheers, - Dean _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Apr 30, 2005, at 8:52 AM, Sean McBride wrote: Dean Reece (dean.reece@apple.com) 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Dean Reece