disable Werror or Wall from /src/SConscript

Regards,
Digant Desai.



On Tue, Jul 12, 2011 at 11:30, xxx <[email protected]> wrote:

> Hello,
> When I try to make ALPHA_SE simulator, I meet the following problem.
> How can I turn off "warnings being treated as errors" ?
> ------------------------------
> -------------------------------
> Using saved variables file
> /home/linjiah/gem5_dir/gem5_1/gem5/build/variables/ALPHA_SE
> scons: done reading SConscript files.
> scons: Building targets ...
>  [     CXX] ALPHA_SE/arch/alpha/atomic_simple_cpu_exec.cc -> .o
> cc1plus: warnings being treated as errors
> build/ALPHA_SE/arch/generic/memhelpers.hh: In function 'Fault
> writeMemAtomic(XC*, Trace::InstRecord*, const MemT&, Addr, unsigned int,
> uint64_t*) [with XC = AtomicSimpleCPU, MemT = double]':
> build/ALPHA_SE/arch/alpha/atomic_simple_cpu_exec.cc:1965:   instantiated
> from here
> build/ALPHA_SE/arch/generic/memhelpers.hh:95: warning: converting to 'long
> unsigned int' from 'double'
> scons: *** [build/ALPHA_SE/arch/alpha/atomic_simple_cpu_exec.o] Error 1
> scons: building terminated because of errors.
> ------------------------------------------------------------
>
> L.J
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to