Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel debug assert



I have looked everywhere.  I still can't find who exports the _Assert?
Is no one using IOKit/assert.h? 

On 17-May-05, at 2:11 PM, Anthony Malizia wrote:

Ok, I defined MACH_ASSERT in my project, but now my kext doesn't load.
undefined symbol _Assert
What library (and version) is this in?
I already have these in my info.plist:
com.apple.iokit.IOPCIFamily 1.4
com.apple.kernel.iokit 6.9.9
com.apple.kernel.libkern 6.9.9
com.apple.kernel.mach 6.9.9


On 16-May-05, at 11:23 AM, Anthony Malizia wrote:

Hello developers,

I am trying to find some info on helpful kernel debug macros.

I found "assert" in <IOKit/assert.h> , but it doesn't seem to do anything; probably because MACH_ASSERT in <kern/assert.h> is not defined.

What is the proper way of using this marco?  Do I just define MACH_ASSERT  in my project settings?

Is there a pre-defined DEBUG symbol? Or do I have to add this to my "development" profile in Xcode?

Thanks,

Anthony


 _______________________________________________

Do not post admin requests to the list. They will be ignored.

Darwin-drivers mailing list      (email@hidden)

Help/Unsubscribe/Update your Subscription:

http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >kernel debug assert (From: Anthony Malizia <email@hidden>)
 >Re: kernel debug assert (From: Anthony Malizia <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.