[aspectc-user] AspectC++ and Boost
Olaf Spinczyk
Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Feb 28 10:35:18 CET 2006
Hi,
I haven't tried to compile code that uses boost libraries, yet, but I
remember that at least one user reported problems, because of invalid
tokens in boost header files (containing '@').
In the case of the MPL, which uses template metaprogramming, I have
serious doubts that ac++ will be able to parse it until we have
completed the "real-instances" parser mode.
I'm sorry for this bad news.
- Olaf
Frank Astier wrote:
> Hi -
>
> I'm trying to use AspectC++ on a big project that uses Boost MPL, and I get:
>
> * Running ac++ 1.0pre2
> * Simple Dependency Check
> * Handling Translation Unit `DiscreteFrequencyDistribution.cpp'.
> /boost/mpl/not.hpp:47: error: `BOOST_MPL_PP_AUX_ENUM_FUNC' undeclared here
> /boost/mpl/not.hpp:47: error: invalid member declaration near token
> `template'
> /boost/mpl/not.hpp:47: error: invalid declaration near token `template'
> /boost/mpl/identity.hpp:40: error: `BOOST_MPL_PP_AUX_ENUM_FUNC' undeclared
> here
> /boost/mpl/identity.hpp:40: error: invalid member declaration near token
> `template'
> /boost/mpl/identity.hpp:40: error: invalid declaration near token `template'
> /boost/mpl/identity.hpp:41: error: `BOOST_MPL_PP_AUX_ENUM_FUNC' undeclared
> here
> /boost/mpl/identity.hpp:41: error: invalid member declaration near token
> `template'
> /boost/mpl/identity.hpp:41: error: invalid declaration near token `template'
>
> Am I missing anything? Have you tried aspectc++ with boost MPL?
>
> Thanks,
>
> Frank
>
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user
More information about the aspectc-user
mailing list