I'm using SWIG 2.0.8. Should I just remove the -Werror? Or is this telling me something important, and if so, what?
swig -c++ -python -modern -templatereduce -Ibuild/gzstream -Ibuild/libelf -Iext -I/sw/freetools/python/2.7.2/Linux/rh5/x86_64/include/python2.7 -Ibuild/ARM -outdir build/ARM/python/swig -o build/ARM/python/swig/core_wrap.cc build/ARM/python/swig/core.i g++ -o build/ARM/python/swig/core_wrap.o -c -std=c++0x -pipe -fno-strict-aliasing -Wall -Wno-sign-compare -Wundef -g -O3 -Werror -Wno-uninitialized -Wno-sign-compare -Wno-parentheses -Wno-unused-label -Wno-unused-but-set-variable -DTRACING_ON=1 -Ibuild/gzstream -Ibuild/libelf -Iext -I/sw/freetools/python/2.7.2/Linux/rh5/x86_64/include/python2.7 -Ibuild/ARM build/ARM/python/swig/core_wrap.cc build/ARM/python/swig/core_wrap.cc: In function 'void SWIG_InitializeModule(void*)': build/ARM/python/swig/core_wrap.cc:4233:21: error: statement has no effect [-Werror=unused-value] cc1plus: all warnings being treated as errors scons: *** [build/ARM/python/swig/core_wrap.o] Error 1 scons: building terminated because of errors. pinskerr@bril0145(273)% gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/sw/freetools/gcc/4.6.3/Linux/rh4/x86_64/libexec/gcc/x86_64-unknown-linux-gnu/4.6.3/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./configure --prefix=/sw/freetools/gcc/4.6.3/Linux/rh4/x86_64 --with-mpfr-lib=/sw/freetools/gcc/4.6.3/Linux/rh4/x86_64/lib --with-mpfr-include=/sw/freetools/gcc/4.6.3/Linux/rh4/x86_64/include --with-gmp-lib=/sw/freetools/gcc/4.6.3/Linux/rh4/x86_64/lib --with-gmp-include=/sw/freetools/gcc/4.6.3/Linux/rh4/x86_64/include --with-mpc=/sw/freetools/gcc/4.6.3/Linux/rh4/x86_64 --enable-languages=c,c++,fortran Thread model: posix gcc version 4.6.3 (GCC) Robert Pinsker
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
