• 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
Compile Erros
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile Erros


  • Subject: Compile Erros
  • From: koko <email@hidden>
  • Date: Thu, 28 Apr 2011 19:57:18 -0600

I have built an iOS Cocoa Touch Static library.  The source is C++.  Builds with no error or warnings.

NOw I add this library to a View based iOS project.

I add a C++ file defining a test C++ class.

IN the .cpp I include a header for access to library finctions ... and here is what is wied to me ...

I get errors in the files that compiled as the library.

I get the following on inline, class and <template> statements

error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token

So is there a setting I am unaware of that lets me use this library in an iOS app?


-koko




 _______________________________________________
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: Compile Erros
      • From: Andreas Grosam <email@hidden>
  • Prev by Date: Re: 4.0.1 DSYMUTIL assertion
  • Next by Date: cpp class keyword
  • Previous by thread: Re: 4.0.1 DSYMUTIL assertion
  • Next by thread: Re: Compile Erros
  • Index(es):
    • Date
    • Thread