• 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
Re: Compiling c++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling c++


  • Subject: Re: Compiling c++
  • From: John Nairn <email@hidden>
  • Date: Mon, 16 Jan 2012 12:23:51 -0800

Thanks, I looked at syntax. It was OK, but what I did wrong was to include one of the C++ header file in an Obj-C file. I only needed the constants from the header, but the compiler didn't know that. In other words, it was an Objj-C file that stopped compiling and not the C++ files.

On Jan 16, 2012, at 12:21 PM, Scott Ribe wrote:

On Jan 16, 2012, at 12:57 PM, John Nairn wrote:

When I googled this error I found it occurs when compiler is using C instead of C++.

That's just one way it can happen. It's a fairly generic syntax error, so since you're ruled out that it's using the C compiler, back to looking at your syntax...

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





---------------
John Nairn (1-541-737-4265, FAX:1-541-737-3385)
Professor and Richardson Chair
Web Page: http://www.cof.orst.edu/cof/wse/faculty/Nairn/
FEA/MPM Web Page: http://oregonstate.edu/~nairnj

 _______________________________________________
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: 
 >Compiling c++ (From: John Nairn <email@hidden>)
 >Re: Compiling c++ (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Compiling c++
  • Next by Date: Re: Framework copy
  • Previous by thread: Re: Compiling c++
  • Next by thread: Email Address Change
  • Index(es):
    • Date
    • Thread