[aspectc-user] Compiler errors

Olaf Spinczyk os at aspectc.org
Tue Apr 12 10:12:48 CEST 2011


Which version are you using? I'd recommend to download the latest "daily 
build" from www.aspectc.org instead of version 1.0pre3.

Best regards,


On 04/11/2011 10:52 PM, ciracis at ewi.utwente.nl wrote:
> Hi,
> I'm trying to weave an aspect to Ns3 code specifically simulator.cc .
> Now this cc file includes several headers which compiles normally with
> g++. However, they don't compile with ag++. The first part of the
> problem are the types __uint128_t and __int128_t, specifically the lines:
> typedef __uint128_t uint128_t;
> typedef __int128_t int128_t;
> For the machine I'm using __uint128_t is defined. but somehow ac++ (or
> ag++) doesn't recognize the type. What can I do to make it recognize
> the this type? I think it is treated as a primitive type not a struct.
> Second problem is strange: I get the error:
> ./../build/debug/ns3/ptr.h:438: error: no matching function for call to
> `PeekPointer' and in the same header peek pointer is defined as:
> template<typename T>
> T * PeekPointer (const Ptr<T>  &p)
> and the offending line is template<typename T>
> Ptr<T>::Ptr (Ptr const&o)
>    : m_ptr (PeekPointer (o))
> { .,.. }
> I couldn't understand what exactly is going on here.
> Thanks in advance,
> 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