Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › Variable unitialized warnings during compilation of Rosetta 3.5
- This topic has 1 reply, 2 voices, and was last updated 10 years ago by Anonymous.
-
AuthorPosts
-
-
December 1, 2014 at 1:26 pm #2086Anonymous
I am getting a lot of “unitialized” warnings during compilation of rosetta 3.5. See examples below (there is a lot more). I am using Ubuntu 14.04 amd64. I have gcc 4.8 and 4.7 installed. I am compiling with ./scons.py -j1 mode=release cxx_ver=4.7 bin.
g++ -o build/src/release/linux/3.13/64/x86/gcc/4.7/default/protocols/enzdes/AddorRemoveCsts.os -c -std=c++98 -isystem external/boost_1_46_1/ -pipe -ffor-scope -Wall -Wextra -pedantic -Wno-long-long -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc/4.7 -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/include -I/usr/local/include src/protocols/enzdes/AddorRemoveCsts.cc
In file included from src/protocols/enzdes/AddorRemoveCsts.cc:23:0:
src/utility/tag/Tag.hh: In member function ‘T utility::tag::Tag::getOption(const string&, const T&) const [with T = bool; std::string = std::basic_string]’:
src/utility/tag/Tag.hh:81:5: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
T t;
^g++ -o build/src/release/linux/3.13/64/x86/gcc/4.7/default/protocols/enzdes/EnzdesMovers.os -c -std=c++98 -isystem external/boost_1_46_1/ -pipe -ffor-scope -Wall -Wextra -pedantic -Wno-long-long -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc/4.7 -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/include -I/usr/local/include src/protocols/enzdes/EnzdesMovers.cc
In file included from src/protocols/enzdes/EnzdesMovers.cc:29:0:
src/utility/tag/Tag.hh: In member function ‘T utility::tag::Tag::getOption(const string&, const T&) const [with T = double; std::string = std::basic_string]’:
src/utility/tag/Tag.hh:81:5: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
T t;
^
src/protocols/enzdes/EnzdesMovers.cc: In member function ‘virtual void protocols::enzdes::PredesignPerturbMover::parse_my_tag(utility::tag::TagPtr, protocols::moves::DataMap&, const Filters_map&, const Movers_map&, const core::pose::Pose&)’:
src/protocols/enzdes/EnzdesMovers.cc:356:69: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dock_trials_ = tag -> getOption< core::Size >( “dock_trials”, 100 );g++ -o build/src/release/linux/3.13/64/x86/gcc/4.7/default/protocols/sic_dock/SICFast.os -c -std=c++98 -isystem external/boost_1_46_1/ -pipe -ffor-scope -Wall -Wextra -pedantic -Wno-long-long -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc/4.7 -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/include -I/usr/local/include src/protocols/sic_dock/SICFast.cc
In file included from src/numeric/xyz.functions.hh:24:0,
from src/protocols/sic_dock/types.hh:12,
from src/protocols/sic_dock/xyzStripeHashPose.hh:14,
from src/protocols/sic_dock/SICFast.cc:7:
src/numeric/xyzVector.hh: In member function ‘ObjexxFCL::FArray2<>& ObjexxFCL::FArray2< >::to_default() [with T = numeric::xyzVector ]’:
src/numeric/xyzVector.hh:175:4: warning: ‘.numeric::xyzVector ::x_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x_ = v.x_;
^
In file included from src/ObjexxFCL/FArray1.hh:20:0,
from src/ObjexxFCL/FArray1D.hh:20,
from src/core/kinematics/FoldTree.hh:30,
from src/core/pose/util.tmpl.hh:110,
from src/core/pose/util.hh:45,
from src/protocols/sic_dock/SICFast.cc:23:
src/ObjexxFCL/FArray.hh:655:53: note: ‘‘ was declared here
std::fill_n( array_, size_, Traits::initial_value() );
^
In file included from src/numeric/xyz.functions.hh:24:0,
from src/protocols/sic_dock/types.hh:12,
from src/protocols/sic_dock/xyzStripeHashPose.hh:14,
from src/protocols/sic_dock/SICFast.cc:7:
src/numeric/xyzVector.hh:176:4: warning: ‘.numeric::xyzVector ::y_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y_ = v.y_;
^
In file included from src/ObjexxFCL/FArray1.hh:20:0,
from src/ObjexxFCL/FArray1D.hh:20,
from src/core/kinematics/FoldTree.hh:30,
from src/core/pose/util.tmpl.hh:110,
from src/core/pose/util.hh:45,
from src/protocols/sic_dock/SICFast.cc:23:
src/ObjexxFCL/FArray.hh:655:53: note: ‘‘ was declared here
std::fill_n( array_, size_, Traits::initial_value() );
^
In file included from src/numeric/xyz.functions.hh:24:0,
from src/protocols/sic_dock/types.hh:12,
from src/protocols/sic_dock/xyzStripeHashPose.hh:14,
from src/protocols/sic_dock/SICFast.cc:7:
src/numeric/xyzVector.hh:177:4: warning: ‘.numeric::xyzVector ::z_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
z_ = v.z_;
^
In file included from src/ObjexxFCL/FArray1.hh:20:0,
from src/ObjexxFCL/FArray1D.hh:20,
from src/core/kinematics/FoldTree.hh:30,
from src/core/pose/util.tmpl.hh:110,
from src/core/pose/util.hh:45,
from src/protocols/sic_dock/SICFast.cc:23:
src/ObjexxFCL/FArray.hh:655:53: note: ‘‘ was declared here
std::fill_n( array_, size_, Traits::initial_value() );
^
In file included from src/numeric/xyz.functions.hh:24:0,
from src/protocols/sic_dock/types.hh:12,
from src/protocols/sic_dock/xyzStripeHashPose.hh:14,
from src/protocols/sic_dock/SICFast.cc:7:
src/numeric/xyzVector.hh: In member function ‘ObjexxFCL::FArray<>& ObjexxFCL::FArray< >::to_default() [with T = numeric::xyzVector ]’:
src/numeric/xyzVector.hh:175:4: warning: ‘.numeric::xyzVector ::x_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x_ = v.x_;
^
In file included from src/ObjexxFCL/FArray1.hh:20:0,
from src/ObjexxFCL/FArray1D.hh:20,
from src/core/kinematics/FoldTree.hh:30,
from src/core/pose/util.tmpl.hh:110,
from src/core/pose/util.hh:45,
from src/protocols/sic_dock/SICFast.cc:23:
src/ObjexxFCL/FArray.hh:655:53: note: ‘‘ was declared here
std::fill_n( array_, size_, Traits::initial_value() );
^
In file included from src/numeric/xyz.functions.hh:24:0,
from src/protocols/sic_dock/types.hh:12,
from src/protocols/sic_dock/xyzStripeHashPose.hh:14,
from src/protocols/sic_dock/SICFast.cc:7:
src/numeric/xyzVector.hh:176:4: warning: ‘.numeric::xyzVector ::y_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y_ = v.y_;
^
In file included from src/ObjexxFCL/FArray1.hh:20:0,
from src/ObjexxFCL/FArray1D.hh:20,
from src/core/kinematics/FoldTree.hh:30,
from src/core/pose/util.tmpl.hh:110,
from src/core/pose/util.hh:45,
from src/protocols/sic_dock/SICFast.cc:23:
src/ObjexxFCL/FArray.hh:655:53: note: ‘‘ was declared here
std::fill_n( array_, size_, Traits::initial_value() );
^
In file included from src/numeric/xyz.functions.hh:24:0,
from src/protocols/sic_dock/types.hh:12,
from src/protocols/sic_dock/xyzStripeHashPose.hh:14,
from src/protocols/sic_dock/SICFast.cc:7:
src/numeric/xyzVector.hh:177:4: warning: ‘.numeric::xyzVector ::z_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
z_ = v.z_;
^
In file included from src/ObjexxFCL/FArray1.hh:20:0,
from src/ObjexxFCL/FArray1D.hh:20,
from src/core/kinematics/FoldTree.hh:30,
from src/core/pose/util.tmpl.hh:110,
from src/core/pose/util.hh:45,
from src/protocols/sic_dock/SICFast.cc:23:
src/ObjexxFCL/FArray.hh:655:53: note: ‘‘ was declared here
std::fill_n( array_, size_, Traits::initial_value() );
^ -
December 1, 2014 at 3:01 pm #10658Anonymous
Those shouldn’t be a problem, so long as they’re just warnings. A good way to check is to re-run the (identical) scons command again after it completes. If you continue to get errors, then there’s a problem. If things compiled, you’ll get a few brief messages from the scons system, but no compiler commands printed, and no messages about warnings or errors.
-
-
AuthorPosts
- You must be logged in to reply to this topic.