Hi Mohammed,

The TurboSMARTS codebase currently contains a number of
non-standard-conforming bits of C++ code.  It compiles cleanly with gcc
2.95.3, but runs into problems with newer versions of gcc (as does much of
SimpleScalar code for a variety of reasons).

It would be helpful to know which version of gcc you are using.

The specific error you mention below can be solved by adding the following
code within the definition of UpdateIter near asn.hpp:169.

bool operator !=( UpdateIter const & anIter ) const {
  return ! (*this == anIter);
}

Regards,
-Tom Wenisch

On Sat, 19 Nov 2005, Mohammed Mohammed wrote:

> Hi there,
> >
> > Sorry for interrupting you..just a little question..I am trying to build
> > TurboSMARTS so I could use as a part of a class project at pitt..i get the
> > following error..
> >
> >
> > .make[1]: Entering directory
> > `/afs/cs.pitt.edu/usr0/mohammed/private/cs2410/turbosim/ss3/liblvpt'
> > g++  -c lvpt.cpp
> > lvpt.cpp: In function `void apply_memupdates(CkptEntry*, UpdateIter<const
> >   MemUpdate>, UpdateIter<const MemUpdate>, mem_t*)':
> > lvpt.cpp:535: no match for `UpdateIter<const MemUpdate>& !=
> > UpdateIter<const
> >   MemUpdate>&' operator
> > make[1]: *** [lvpt.o] Error 1
> >
> >
> > I am not so familiar with c++...I need help please if possible.
> >
> > Thanks
>
>
> _______________________________________________
> SimFlex mailing list
> [email protected]
> https://sos.ece.cmu.edu/mailman/listinfo/simflex
> SimFlex web page: http://www.ece.cmu.edu/~simflex
>
From jtapia at ece.ualberta.ca  Sat Nov 19 18:59:47 2005
From: jtapia at ece.ualberta.ca (Jesus Hernandez Tapia)
List-Post: [email protected]
Date: Sat Nov 19 19:13:08 2005
Subject: [Simflex] TurboSMARTS problem
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>

Hello,

I had similar problems building TurboSMARTS with gcc 3.3, but then I 
installed gcc 2.95.3 and the compilation was smooth.

Probably the development team could tell us which version of gcc they 
recommend to build TurboSMARTS.

Regards,

Jesus.


Mohammed Mohammed wrote:

>Hi there,
>  
>
>>Sorry for interrupting you..just a little question..I am trying to build
>>TurboSMARTS so I could use as a part of a class project at pitt..i get the
>>following error..
>>
>>
>>.make[1]: Entering directory
>>`/afs/cs.pitt.edu/usr0/mohammed/private/cs2410/turbosim/ss3/liblvpt'
>>g++  -c lvpt.cpp
>>lvpt.cpp: In function `void apply_memupdates(CkptEntry*, UpdateIter<const
>>  MemUpdate>, UpdateIter<const MemUpdate>, mem_t*)':
>>lvpt.cpp:535: no match for `UpdateIter<const MemUpdate>& !=
>>UpdateIter<const
>>  MemUpdate>&' operator
>>make[1]: *** [lvpt.o] Error 1
>>
>>
>>I am not so familiar with c++...I need help please if possible.
>>
>>Thanks
>>    
>>
>
>
>_______________________________________________
>SimFlex mailing list
>[email protected]
>https://sos.ece.cmu.edu/mailman/listinfo/simflex
>SimFlex web page: http://www.ece.cmu.edu/~simflex
>
>  
>

Reply via email to