Re: [Gems-users] g++ version for gems 2.0 on simics 3.0.30


Date: Sat, 2 Feb 2008 19:28:40 +0800
From: "Allan Noriel Estrella" <allan.noriel.estrella@xxxxxxxxx>
Subject: Re: [Gems-users] g++ version for gems 2.0 on simics 3.0.30
Here are some of the warnings (I tried compiling them again):
simics/SimicsProcessor.C: In member function 'int SimicsProcessor::translateASI(const memory_transaction_t*)':
simics/SimicsProcessor.C:604: warning: comparison is always false due to limited range of data type

simics/SimicsHypervisor.C:153: warning: comparison between signed and unsigned integer expressions
simics/SimicsHypervisor.C:167: warning: comparison between signed and unsigned integer expressions

system/LSB_CountingBloomFilter.C: In member function 'virtual void LSB_CountingBloomFilter::increment(const Address&)':
system/LSB_CountingBloomFilter.C:97: warning: empty body in an if-statement
system/LSB_CountingBloomFilter.C: In member function 'virtual bool LSB_CountingBloomFilter::isSet(const Address&)':
system/LSB_CountingBloomFilter.C:127: warning: no return statement in function returning non-void
system/LSB_CountingBloomFilter.C:127: warning: control reaches end of non-void function

common/hfa.h:224:34: warning: backslash and newline separated by space
common/hfa.h:231:1: warning: multi-line comment

On 02/02/2008, Allan Noriel Estrella <allan.noriel.estrella@xxxxxxxxx> wrote:
What g++ version do you recommend for this setup? I currently use g++-4.2 and when I compiled ruby or opal (I can't remember which one), I got several warnings (e.g.comparison between signed and unsigned int). Can I just ignore them with my current g++, gems and simics versions

[← Prev in Thread] Current Thread [Next in Thread→]