• 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
Boost Libraries and Project Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Boost Libraries and Project Builder


  • Subject: Boost Libraries and Project Builder
  • From: Francisco Tolmasky <email@hidden>
  • Date: Tue, 09 Sep 2003 21:14:13 -0700

I'm having great difficulty getting the boost/spirit libraries to compile under Project Builder using Objective-C++. I know for a fact that they should work since they work just fine in a C++ Tool Project, but as soon as I try to include any boost library in a .mm file I get errors like:

"macro "check" passed 2 arguments, but takes just 1"

referring to the line:

template <typename B, typename D>
struct bd_helper
{
template<typename T>
--> static type_traits::yes_type check(D const volatile *, T); <--
static type_traits::not_type check(B const volatile *, int);
};

I'm having problem with Objective-C++ all around. So any help would be greatly appreciated. Also, when I don't include the file "grammar.hpp" (which has the spirit parser grammar definition (a C++ struct)) I don't get these errors, but it *seems* to compile the file.

I am truly stumped.

Thank you in advance,

Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Boost Libraries and Project Builder
      • From: Stephane Le Cornec <email@hidden>
  • Prev by Date: Re: Multiple Windows and Cocoa
  • Next by Date: NSFont with matrix
  • Previous by thread: Re: Multiple Windows and Cocoa
  • Next by thread: Re: Boost Libraries and Project Builder
  • Index(es):
    • Date
    • Thread