Hello,

I was able to compile with no error using the latest trunk instead of
stable as you suggested.

Thank you.

Maxime.

2013/2/15 Andreas Hansson <andreas.hans...@arm.com>

>  I'd suggest going for the latest trunk instead of stable. I also have
> some patches on the review board cleaning up the compiler flags.
>
>  The "-Wno-unused-value" is added to the SWIG flags in the later editions
> of the Sconscript.
>
>  Andreas
>
>   From: Fernando Endo <fernando.en...@gmail.com>
> Reply-To: gem5 users mailing list <gem5-users@gem5.org>
> Date: Friday, 15 February 2013 17:04
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] Compilation error: statement has no effect
>
>  Hello,
>
>  Could you please give us more information? (command line, OS, compiler
> version, etc)
>
>  --
> Fernando A. Endo, PhD student and researcher
>
> Universit� de Grenoble, UJF
> France
>
>
>
> 2013/2/14 Maxime Ch�ramy <maxime.cher...@gmail.com>
>
>> Hello,
>>
>> I'm new with gem5. I've downloaded the code of the branch gem5-stable and
>> tried to compile using scons. Here's the error I get:
>>
>>  [     CXX] ALPHA/python/swig/core_wrap.cc -> .do
>> build/ALPHA/python/swig/core_
>> wrap.cc: In function 'void SWIG_InitializeModule(void*)':
>> build/ALPHA/python/swig/core_wrap.cc:4233:21: error: statement has no
>> effect [-Werror=unused-value]
>> cc1plus: all warnings being treated as errors
>> scons: *** [build/ALPHA/python/swig/core_wrap.do] Error 1
>> scons: building terminated because of errors.
>>
>> The line is : (void*)clientdata;
>>
>>
>> Cheers,
>>
>> Maxime.
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to