• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
assert macro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: assert macro
      • From: Dave Keck <email@hidden>
    • Re: assert macro
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: Re: Update XCode
  • Next by Date: Re: assert macro
  • Previous by thread: Re: Update XCode
  • Next by thread: Re: assert macro
  • Index(es):
    • Date
    • Thread