Re: Xcode vs. Boost
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