Has user provided issue compiling #166
Replies: 1 comment 6 replies
-
This looks like it's due to increased warning levels (specifically For released versions, we typically turn off the warnings, so you probably won't see this if you compile the downloaded version from the RosettaCommons website. The way this is accomplished is by deleting the lines labeled "REMOVE FOR RELEASE" in the |
Beta Was this translation helpful? Give feedback.
-
When i try to compile, there seems to be an issue around various option keys leading to this.
In file included from src/utility/options/keys/AnyOptionKey.hh:23,
from src/basic/options/keys/OptionKeys.hh:48,
from src/basic/options/keys/packing.OptionKeys.gen.hh:19,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:56:
src/utility/options/keys/ScalarOptionKey.hh:53:9: note: because 'utility::options::ScalarOptionKey' has user-provided 'utility::options::ScalarOptionKey::ScalarOptionKey(const utility::options::ScalarOptionKey&)'
53 | ScalarOptionKey( ScalarOptionKey const & key ) :
| ^~~~~~~~~~~~~~~
In file included from src/utility/options/BooleanOption.hh:23,
from src/utility/options/OptionCollection.hh:24,
from src/basic/options/option.hh:17,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:58:
src/utility/options/ScalarOption_T_.hh:143:30: note: synthesized method 'utility::options::IntegerOptionKey& utility::options::IntegerOptionKey::operator=(const utility::options::IntegerOptionKey&)' first required here
143 | key_ = option.key_;
| ~~~~~^~~~~~~~~~~~~
In file included from src/basic/options/keys/OptionKeys.hh:59,
from src/basic/options/keys/packing.OptionKeys.gen.hh:19,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:56:
src/utility/options/keys/RealOptionKey.hh: In instantiation of 'utility::options::ScalarOption_T_<K, T>& utility::options::ScalarOption_T_<K, T>::operator=(const utility::options::ScalarOption_T_<K, T>&) [with K = utility::options::RealOptionKey; T = double]':
src/utility/options/RealOption.hh:40:7: required from here
src/utility/options/keys/RealOptionKey.hh:35:7: warning: implicitly-declared 'utility::options::ScalarOptionKey& utility::options::ScalarOptionKey::operator=(const utility::options::ScalarOptionKey&)' is deprecated [-Wdeprecated-copy]
35 | class RealOptionKey :
| ^~~~~~~~~~~~~
In file included from src/utility/options/keys/AnyOptionKey.hh:23,
from src/basic/options/keys/OptionKeys.hh:48,
from src/basic/options/keys/packing.OptionKeys.gen.hh:19,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:56:
src/utility/options/keys/ScalarOptionKey.hh:53:9: note: because 'utility::options::ScalarOptionKey' has user-provided 'utility::options::ScalarOptionKey::ScalarOptionKey(const utility::options::ScalarOptionKey&)'
53 | ScalarOptionKey( ScalarOptionKey const & key ) :
| ^~~~~~~~~~~~~~~
In file included from src/utility/options/BooleanOption.hh:23,
from src/utility/options/OptionCollection.hh:24,
from src/basic/options/option.hh:17,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:58:
src/utility/options/ScalarOption_T_.hh:143:30: note: synthesized method 'utility::options::RealOptionKey& utility::options::RealOptionKey::operator=(const utility::options::RealOptionKey&)' first required here
143 | key_ = option.key_;
| ~~~~~^~~~~~~~~~~~~
In file included from src/basic/options/keys/OptionKeys.hh:63,
from src/basic/options/keys/packing.OptionKeys.gen.hh:19,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:56:
src/utility/options/keys/StringOptionKey.hh: In instantiation of 'utility::options::ScalarOption_T_<K, T>& utility::options::ScalarOption_T_<K, T>::operator=(const utility::options::ScalarOption_T_<K, T>&) [with K = utility::options::StringOptionKey; T = std::cxx11::basic_string]':
src/utility/options/StringOption.hh:35:7: required from here
src/utility/options/keys/StringOptionKey.hh:35:7: warning: implicitly-declared 'utility::options::ScalarOptionKey& utility::options::ScalarOptionKey::operator=(const utility::options::ScalarOptionKey&)' is deprecated [-Wdeprecated-copy]
35 | class StringOptionKey :
| ^~~~~~~~~~~~~~~
In file included from src/utility/options/keys/AnyOptionKey.hh:23,
from src/basic/options/keys/OptionKeys.hh:48,
from src/basic/options/keys/packing.OptionKeys.gen.hh:19,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:56:
src/utility/options/keys/ScalarOptionKey.hh:53:9: note: because 'utility::options::ScalarOptionKey' has user-provided 'utility::options::ScalarOptionKey::ScalarOptionKey(const utility::options::ScalarOptionKey&)'
53 | ScalarOptionKey( ScalarOptionKey const & key ) :
| ^~~~~~~~~~~~~~~
In file included from src/utility/options/BooleanOption.hh:23,
from src/utility/options/OptionCollection.hh:24,
from src/basic/options/option.hh:17,
from src/protocols/matdes/MatDesGreedyOptMutationMover.cc:58:
src/utility/options/ScalarOption_T.hh:143:30: note: synthesized method 'utility::options::StringOptionKey& utility::options::StringOptionKey::operator=(const utility::options::StringOptionKey&)' first required here
143 | key = option.key_;
| ~~~~~^~~~~~~~~~~~~
This is just a snapshot of it but it continues until breaking due to many errors.
Beta Was this translation helpful? Give feedback.
All reactions