Guest User

Untitled

a guest
Oct 23rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. In file included from test.cpp:1:
  2. In file included from /usr/include/c++/4.5/iostream:39:
  3. In file included from /usr/include/c++/4.5/ostream:39:
  4. In file included from /usr/include/c++/4.5/ios:39:
  5. In file included from /usr/include/c++/4.5/exception:150:
  6. /usr/include/c++/4.5/exception_ptr.h:132:13: error: unknown type name 'type_info'
  7. const type_info*
  8. ^
  9. In file included from test.cpp:1:
  10. In file included from /usr/include/c++/4.5/iostream:39:
  11. In file included from /usr/include/c++/4.5/ostream:39:
  12. In file included from /usr/include/c++/4.5/ios:39:
  13. In file included from /usr/include/c++/4.5/exception:151:
  14. /usr/include/c++/4.5/nested_exception.h:62:5: error: the parameter for this explicitly-defaulted copy constructor is const, but a member or base requires it to be non-const
  15. nested_exception(const nested_exception&) = default;
  16. ^
  17. /usr/include/c++/4.5/nested_exception.h:64:23: error: the parameter for this explicitly-defaulted copy assignment operator is const, but a member or base requires it to be non-const
  18. nested_exception& operator=(const nested_exception&) = default;
  19. ^
  20. /usr/include/c++/4.5/nested_exception.h:122:61: error: redefinition of default argument
  21. __throw_with_nested(_Ex&& __ex, const nested_exception* = 0)
  22. ^ ~
  23. /usr/include/c++/4.5/nested_exception.h:110:56: note: previous definition is here
  24. __throw_with_nested(_Ex&&, const nested_exception* = 0)
  25. ^ ~
  26. 4 errors generated.
Add Comment
Please, Sign In to add comment