Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/tanner/prog/c/cubeland/libs/rsedData.cpp
- In file included from source/ParsedData.cpp:22:0:
- source/ParserExceptions.h:13:8: error: looser throw specifier for ‘virtual glscene::_detail::BaseParseError::~BaseParseError()’
- class BaseParseError : public std::runtime_error
- ^
- In file included from source/pch.h:20:0,
- from source/ParsedData.cpp:2:
- /usr/include/c++/4.8.1/stdexcept:121:13: error: overriding ‘virtual std::runtime_error::~runtime_error() throw ()’
- virtual ~runtime_error() _GLIBCXX_USE_NOEXCEPT;
- ^
- source/ParsedData.cpp: In function ‘glscene::SceneGraph* glscene::_detail::CreateSceneGraph(const glscene::_detail::ParsedSceneGraphDef&, const glscene::_detail::ParsedResources&, const glscene::BaseLoader&)’:
- source/ParsedData.cpp:466:57: error: invalid initialization of non-const reference of type ‘glscene::ResourceRef&’ from an rvalue of type ‘glscene::ResourceRef’
- ResourceData &refs = GetResources(graph.GetResources());
- ^
- In file included from source/ParsedData.cpp:16:0:
- source/ResourceData.h:245:23: error: in passing argument 1 of ‘glscene::ResourceData& glscene::GetResources(glscene::ResourceRef&)’
- inline ResourceData &GetResources(ResourceRef &refs)
- ^
- In file included from ../boost/boost/container/detail/flat_tree.hpp:31:0,
- from ../boost/boost/container/flat_set.hpp:25,
- from source/pch.h:40,
- from source/ParsedData.cpp:2:
- ../boost/boost/container/detail/pair.hpp: In instantiation of ‘boost::container::container_detail::pair<T1, T2>& boost::container::container_detail::pair<T1, T2>::operator=(const boost::rv<boost::container::container_detail::pair<T1, T2> >&) [with T1 = glscene::_detail::ParsedIdentifier; T2 = glscene::_detail::ParsedProgramDef]’:
- ../boost/boost/container/detail/pair.hpp:99:39: required from ‘boost::container::container_detail::pair<T1, T2>& boost::container::container_detail::pair<T1, T2>::operator=(boost::container::container_detail::pair<T1, T2>&) [with T1 = glscene::_detail::ParsedIdentifier; T2 = glscene::_detail::ParsedProgramDef]’
- ../boost/boost/container/vector.hpp:629:15: required from ‘void boost::container::vector<T, Allocator>::assign(InIt, InIt, typename boost::container::container_detail::enable_if_c<(! boost::container::container_detail::is_convertible<InIt, typename boost::container::allocator_traits<Allocator>::size_type>::value)>::type*) [with InIt = boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef>*; T = boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef>; Allocator = std::allocator<boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef> >; typename boost::container::container_detail::enable_if_c<(! boost::container::container_detail::is_convertible<InIt, typename boost::container::allocator_traits<Allocator>::size_type>::value)>::type = void]’
- ../boost/boost/container/vector.hpp:494:7: required from ‘boost::container::vector<T, Allocator>::vector(const boost::container::vector<T, Allocator>&) [with T = boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef>; Allocator = std::allocator<boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef> >]’
- ../boost/boost/container/detail/flat_tree.hpp:107:80: required from ‘boost::container::container_detail::flat_tree<Key, Value, KeyOfValue, Compare, A>::Data::Data(const boost::container::container_detail::flat_tree<Key, Value, KeyOfValue, Compare, A>::Data&) [with Key = glscene::_detail::ParsedIdentifier; Value = boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef>; KeyOfValue = boost::container::container_detail::select1st<boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef> >; Compare = std::less<glscene::_detail::ParsedIdentifier>; A = std::allocator<boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef> >]’
- ../boost/boost/container/detail/flat_tree.hpp:195:24: required from ‘boost::container::container_detail::flat_tree<Key, Value, KeyOfValue, Compare, A>::flat_tree(const boost::container::container_detail::flat_tree<Key, Value, KeyOfValue, Compare, A>&) [with Key = glscene::_detail::ParsedIdentifier; Value = boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef>; KeyOfValue = boost::container::container_detail::select1st<boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef> >; Compare = std::less<glscene::_detail::ParsedIdentifier>; A = std::allocator<boost::container::container_detail::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef> >]’
- ../boost/boost/container/flat_map.hpp:208:34: required from ‘boost::container::flat_map<Key, T, Compare, Allocator>::flat_map(const boost::container::flat_map<Key, T, Compare, Allocator>&) [with Key = glscene::_detail::ParsedIdentifier; T = glscene::_detail::ParsedProgramDef; Compare = std::less<glscene::_detail::ParsedIdentifier>; Allocator = std::allocator<std::pair<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef> >]’
- ../boost/boost/foreach.hpp:575:9: required from ‘boost::foreach_detail_::simple_variant<T>::simple_variant(const T&) [with T = boost::container::flat_map<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef>]’
- ../boost/boost/foreach.hpp:652:49: required from ‘boost::foreach_detail_::auto_any<boost::foreach_detail_::simple_variant<T> > boost::foreach_detail_::contain(const T&, bool*) [with T = boost::container::flat_map<glscene::_detail::ParsedIdentifier, glscene::_detail::ParsedProgramDef>]’
- source/ParsedData.cpp:97:920: required from here
- ../boost/boost/container/detail/pair.hpp:204:14: error: no match for ‘operator=’ (operand types are ‘glscene::_detail::ParsedProgramDef’ and ‘const glscene::_detail::ParsedProgramDef’)
- second = p.second;
- ^
- ../boost/boost/container/detail/pair.hpp:204:14: note: candidate is:
- In file included from source/ParsedData.cpp:18:0:
- source/ParsedData.h:77:9: note: glscene::_detail::ParsedProgramDef& glscene::_detail::ParsedProgramDef::operator=(glscene::_detail::ParsedProgramDef&)
- struct ParsedProgramDef
- ^
- source/ParsedData.h:77:9: note: no known conversion for argument 1 from ‘const glscene::_detail::ParsedProgramDef’ to ‘glscene::_detail::ParsedProgramDef&’
- make[1]: *** [Debug/ParsedData.o] Error 1
- make: *** [glscene] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement