Hi,
To temporarily overcome with this compiler error:
error: variable 'something' set but not used [-Werror=unused-but-set-variable]
I added that flag to gem5/SConstruct
if main['GCC']:
main.Append(CCFLAGS=['-pipe'])
main.Append(CCFLAGS=['-fno-strict-aliasing'])
main.Append(CCFLAGS=['-Wall', '-Wno-sign-compare', '-Wundef',
'-Werror=unused-but-set-variable'])
main.Append(CXXFLAGS=['-Wno-deprecated'])
However still get that error. What is the correct location then?
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users