Re: __CAST_DOWN_CHECK compiler errors
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Shantonu Sen On Nov 17, 2007, at 10:10 AM, Dave B. Sharp wrote: This would be much easier if I had a makefile to work from. I am using the default project setting generated by xcode 3.0 for the generic driver. Can’t seem to generated a makefile. From what I can see from the IDE the relevant option are: the optimization is oo, target architecture is ppc64, instruction scheduling is G5, warnings are set for pointer sign comparison, mismatched return types. I was assuming the defaults created by xcode to be correct. Not sure where the 64b is from. This is the first time with OSX kernel code, done Linux, Solaris, Windows and hpux. If can help with the makefile part, it would be much appreciated. Regards Dave --- Shawn Erickson <shawnce@gmail.com> wrote: On Nov 17, 2007, at 6:38 AM, Dave B. Sharp wrote: Thanx sorry, The error was: "error: size of array'__CAST_DOWN_CHECK is negative" What about the compile line? It seems like you are building is 64b. What is passed for -arch when you see this error? -Shawn _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Mac OS X uses a 32-bit kernel on both 32-bit and 64-bit capable processors. You should set your ARCHS build setting to "ppc i386" to deliver a universal kext. The Generic Kernel Extension template may be incorrect. Try IOKit Kernel Extension. Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/ssen%40apple.com This email sent to ssen@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Shantonu Sen