Re: Boost Libraries and Project Builder
Re: Boost Libraries and Project Builder
- Subject: Re: Boost Libraries and Project Builder
- From: Stephane Le Cornec <email@hidden>
- Date: Wed, 10 Sep 2003 01:01:59 -0400
At 21:14 -0700 2003/09/09, Francisco Tolmasky wrote:
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.
Without looking, I'd say 'grammar.hpp' includes a check() macro. Try
#importing boost before spirit.
--
Stephane!
email@hidden (Stephane Le Cornec)
+------------------- Made with recycled electrons. --------------------+
| #include <disclaimer.h> Kebekkujin desu. |
+---------<
http://www.starfiredesign.com/starfire/index.html>----------+
_______________________________________________
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.