• 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: Xcode vs. Boost
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode vs. Boost


  • Subject: Re: Xcode vs. Boost
  • From: Ken Thomases <email@hidden>
  • Date: Sun, 05 May 2013 11:17:30 -0500

On May 5, 2013, at 10:48 AM, Michael McLaughlin wrote:

> namespace boost { namespace fusion
> {
>    struct nil;  <-- Declaration of anonymous struct must be a definition
>
>    template <typename Car, typename Cdr = nil> <-- Expected a type
>    struct cons;
> }}
>
> #endif
>
> Xcode is behaving as though Boost itself were broken (which seems unlikely).  Also, no variations on language or dialect seem to matter.

Are you sure?  It's exceedingly suspicious that the problem involves the identifier "nil".  This definitely seems as though the code were being compiled as Objective-C++, not just C++.  In Objective-C++, "nil" is a reserved word.

Regards,
Ken


 _______________________________________________
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: 
 >Xcode vs. Boost (From: Michael McLaughlin <email@hidden>)

  • Prev by Date: Xcode vs. Boost
  • Next by Date: Re: Xcode vs. Boost
  • Previous by thread: Xcode vs. Boost
  • Next by thread: Re: Xcode vs. Boost
  • Index(es):
    • Date
    • Thread