Re: assert macro
Re: assert macro
- Subject: Re: assert macro
- From: Christiaan Hofman <email@hidden>
- Date: Mon, 6 Dec 2010 01:59:44 +0100
On Dec 6, 2010, at 1:42, David Blanton wrote: Well, I finally bit the bullet and upgraded:
10.6.4 Xcode 3.2.4 base sdk 10.6 target sdk 10.5
and as I was concerned my project will not build! (great for productivity I must say!)
I had defined in my .pch file
#define _ASSERT assert
My .PCH
// unix #include <unistd.h> #include <sys/param.h> #include <sys/stat.h> // C++ #include <fstream> #include <iostream> #include <cstdio> #include <cerrno> #include <stdlib.h> // Porta #define MAX_PATH PATH_MAX #define _ASSERT assert #undef WIN32
I get an error that assert is not defined ... so where is assert in 10.6?
/usr/include/assert.h, same place as 10.5, 10.4, ... as you can see almost immediately in the docs.
Christiaan
|
_______________________________________________
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>) |