My Rosetta build fails with: “scons: building terminated because of errors.” However the errors really only appear to be warnings: “cc1plus: all warnings being treated as errors” (see below) How can I get scons to treat warnings as warnings and not as errors?
src/protocols/generalized_kinematic_closure/filter/GeneralizedKICfilter.cc:446:26: error: ‘res1’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if(fullpose.residue(res1).xyz(at1).distance_squared( fullpose.residue(res2).xyz(at2) ) > dist_cutoff_sq) {
^
cc1plus: all warnings being treated as errors
scons: *** [build/src/release/linux/2.6/64/x86/gcc/4.8/mpi-static/protocols/generalized_kinematic_closure/filter/GeneralizedKICfilter.o] Error 1
scons: building terminated because of errors.