[aspectc-user] Errors in cpp when using 3rd party lib

Olaf Spinczyk os at aspectc.org
Wed Jul 9 17:06:00 CEST 2014


Hi!

Only the x86_64 version of ac++ supports __int128. I suppose that you work on a 
64 bit system. In this case try the other executable.

Best regards,

Olaf Spinczyk

On 07/09/2014 05:01 PM, Jannis Stoppe wrote:
> Hi again...
>
> With a minimal example working, I've stumbled right into the next error
> I'm having a hard time fixing.
>
> Basically, I have enriched my simple helloWorld.cpp with
> #include<systemc.h> to start using aspectc++ for my systemC project.
> This is what I get:
>
> ag++ -o output ./helloWorld.cpp -I ~/systemc-2.3.1/src/
>
> /usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token
> `abs'
> /usr/include/c++/4.8/limits:1405: error: `__int128' undeclared here
> /usr/include/c++/4.8/limits:1410: error: invalid member declaration near
> token `min'
> /usr/include/c++/4.8/limits:1478: error: invalid declaration near token
> `template'
> error: Execution failed: "ac++" --config "/tmp/agxx_pcfgxa23bH"  -I
> "/home/jannis/systemc-2.3.1/src/"  -p. -c "./helloWorld.cpp" -o
> "/tmp/helloWorld.cpp_agxx_DDyE2b"
>
> I'm kind of lost. The first error can be googled and hints at a problem
> people had compiling aspectc++ after gcc got updated (which isn't really
> my use case). The other errors don't really give any meaningful results
> at all. gcc --version gives me
>
> gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
>
> So, sorry for bothering everyone with quite particular problems again,
> but I'm really at a loss here. Thanks in advance.
> Jannis
> _______________________________________________
> 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