Advertisement
Guest User

Untitled

a guest
Sep 27th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 12.28 KB | None | 0 0
  1. /home/tanner/prog/c/cubeland/libs/rsedData.cpp
  2.  In file included from source/ParsedData.cpp:22:0:
  3.  source/ParserExceptions.h:13:8: error: looser throw specifier for ‘virtual glscene::_detail::BaseParseError::~BaseParseError()
  4.    class BaseParseError : public std::runtime_error
  5.            ^
  6.            In file included from source/pch.h:20:0,
  7.                             from source/ParsedData.cpp:2:
  8.                             /usr/include/c++/4.8.1/stdexcept:121:13: error:   overriding ‘virtual std::runtime_error::~runtime_error() throw ()
  9.                                  virtual ~runtime_error() _GLIBCXX_USE_NOEXCEPT;
  10.                                               ^
  11.                                               source/ParsedData.cpp: In function ‘glscene::SceneGraph* glscene::_detail::CreateSceneGraph(const glscene::_detail::ParsedSceneGraphDef&, const glscene::_detail::ParsedResources&, const glscene::BaseLoader&):
  12.                                               source/ParsedData.cpp:466:57: error: invalid initialization of non-const reference of type ‘glscene::ResourceRef&’ from an rvalue of type ‘glscene::ResourceRef’
  13.                                                  ResourceData &refs = GetResources(graph.GetResources());
  14.                                                                                                           ^
  15.                                                                                                           In file included from source/ParsedData.cpp:16:0:
  16.                                                                                                           source/ResourceData.h:245:23: error: in passing argument 1 of ‘glscene::ResourceData& glscene::GetResources(glscene::ResourceRef&)
  17.                                                                                                             inline ResourceData &GetResources(ResourceRef &refs)
  18.                                                                                                                                    ^
  19.                                                                                                                                    In file included from ../boost/boost/container/detail/flat_tree.hpp:31:0,
  20.                                                                                                                                                     from ../boost/boost/container/flat_set.hpp:25,
  21.                                                                                                                                                                      from source/pch.h:40,
  22.                                                                                                                                                                                       from source/ParsedData.cpp:2:
  23.                                                                                                                                                                                       ../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]:
  24.                                                                                                                                                                                       ../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]
  25.                                                                                                                                                                                       ../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]
  26.                                                                                                                                                                                       ../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> >]
  27.                                                                                                                                                                                       ../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> >]
  28.                                                                                                                                                                                       ../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> >]
  29.                                                                                                                                                                                       ../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> >]
  30.                                                                                                                                                                                       ../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>]
  31.                                                                                                                                                                                       ../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>]
  32.                                                                                                                                                                                       source/ParsedData.cpp:97:920:   required from here
  33.                                                                                                                                                                                       ../boost/boost/container/detail/pair.hpp:204:14: error: no match for ‘operator=(operand types are ‘glscene::_detail::ParsedProgramDef’ and ‘const glscene::_detail::ParsedProgramDef’)
  34.                                                                                                                                                                                              second = p.second;
  35.                                                                                                                                                                                                            ^
  36.                                                                                                                                                                                                            ../boost/boost/container/detail/pair.hpp:204:14: note: candidate is:
  37.                                                                                                                                                                                                            In file included from source/ParsedData.cpp:18:0:
  38.                                                                                                                                                                                                            source/ParsedData.h:77:9: note: glscene::_detail::ParsedProgramDef& glscene::_detail::ParsedProgramDef::operator=(glscene::_detail::ParsedProgramDef&)
  39.                                                                                                                                                                                                              struct ParsedProgramDef
  40.                                                                                                                                                                                                                       ^
  41.                                                                                                                                                                                                                       source/ParsedData.h:77:9: note:   no known conversion for argument 1 from ‘const glscene::_detail::ParsedProgramDef’ to ‘glscene::_detail::ParsedProgramDef&
  42.                                                                                                                                                                                                                       make[1]: *** [Debug/ParsedData.o] Error 1
  43.                                                                                                                                                                                                                       make: *** [glscene] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement