You are here

all warnings being treated as errors

2 posts / 0 new
Last post
all warnings being treated as errors
#1

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.

Category: 
Post Situation: 
Fri, 2015-07-03 15:31
lah435

The advice in the following thread should work: https://www.rosettacommons.org/node/3748

Fri, 2015-07-03 15:46
rmoretti