all warnings being treated as errors

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install all warnings being treated as errors

  • This topic has 1 reply, 2 voices, and was last updated 9 years ago by Anonymous.
Viewing 1 reply thread
  • Author
    Posts
    • #2229
      Anonymous

        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.

      • #11091
        Anonymous

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

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.