If you update to a recent gem5 the "-Werror" should not be applied to the swig code.
Andreas On 16/05/2013 10:19, "Mahmood Naderan" <[email protected]> wrote: >Hi >Comment or remove the following line from src/SConscript > new_env.Append(CCFLAGS='-Werror') > >Hope that helps > >On 5/16/13, Ranga, L Udaya <[email protected]> wrote: >> Hi, >> >> I get a lot of error messages while building gem5 which are related to >> uninitialized warnings being treated as errors. I tried adding specific >> flags for compiler to ignore this fact, but couldn't get past this >>check. Is >> there a single point in SConstruct(s), where I can force this behavior. >>Or, >> the generated file should have correct code. >> >> For example, /python/swig/core_wrap.cc always fails to initialize >>PyObject >> *argv[2]; >> >> Thanks, >> Uday >> >> > > >-- >Regards, >Mahmood >_______________________________________________ >gem5-users mailing list >[email protected] >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 [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
