[aspectc-user] Compilation errors with ag++
Olaf Spinczyk
os at aspectc.org
Fri Jun 17 10:51:53 CEST 2011
Hi!
The problem is the "and" token in the preprocessor expression. This is
rather unusual, because only C++ compilers/preprocessors are able to
parse it. I found out that it is not implemented by the ac++
preprocessor, yet. Could you replace it by "&&" as a quick and dirty
workaround?
Best regards,
Olaf Spinczyk
On 06/16/2011 07:59 PM, ciracis at ewi.utwente.nl wrote:
> Hi,
>
> I'm having some trouble with aspectc++ and I think it is related to ac++
> compiler. The source code under question comes from ns3 project and it
> compiles without problems (not even a warning) with g++. However, with
> aspectc++'s ag++ I get the error:
> Unexpected token '0' in conditional at the line
> #if defined(HAVE___UINT128_R) and !defined(HAVE_UINT128_T)
>
> The error is given before the aspects are weaved (i.e. by ac++). I'm
> using the snapshot build. I appreciate if you can look at this issue. I
> can send source files if requested.
>
> Thanks,
> Selim Ciraci
>
> _______________________________________________
> 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