Re: assert macro
Re: assert macro
- Subject: Re: assert macro
- From: Dave Keck <email@hidden>
- Date: Sun, 5 Dec 2010 22:02:15 -0500
> I get an error that assert is not defined ... so where is assert in 10.6?
There are several ways that I would go about finding where assert is defined:
1. The Xcode documentation window (Help > Developer Documentation).
Entering "assert," the first result is the respective manual page
which indicates the header in which assert is defined.
2. The manual pages. These can be accessed via the Terminal; entering
"man assert" displays the same manual page as in #1.
3. Xcode's "Open Quickly" dialog. Entering "assert," the first result
is /usr/include/assert.h.
4. Brute force. Using the Terminal, the following command:
grep -r "assert" /usr/include/*.h
will list every line in every header file in /usr/include that
contains "assert."
Any of these techniques will lead you to assert.h, which as Christiaan
mentioned, resides in /usr/include.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >assert macro (From: David Blanton <email@hidden>) |