assert macro
assert macro
- Subject: assert macro
- From: David Blanton <email@hidden>
- Date: Sun, 5 Dec 2010 17:42:48 -0700
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?
|
_______________________________________________
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