Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from test.cpp:1:
- In file included from /usr/include/c++/4.5/iostream:39:
- In file included from /usr/include/c++/4.5/ostream:39:
- In file included from /usr/include/c++/4.5/ios:39:
- In file included from /usr/include/c++/4.5/exception:150:
- /usr/include/c++/4.5/exception_ptr.h:132:13: error: unknown type name 'type_info'
- const type_info*
- ^
- In file included from test.cpp:1:
- In file included from /usr/include/c++/4.5/iostream:39:
- In file included from /usr/include/c++/4.5/ostream:39:
- In file included from /usr/include/c++/4.5/ios:39:
- In file included from /usr/include/c++/4.5/exception:151:
- /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
- nested_exception(const nested_exception&) = default;
- ^
- /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
- nested_exception& operator=(const nested_exception&) = default;
- ^
- /usr/include/c++/4.5/nested_exception.h:122:61: error: redefinition of default argument
- __throw_with_nested(_Ex&& __ex, const nested_exception* = 0)
- ^ ~
- /usr/include/c++/4.5/nested_exception.h:110:56: note: previous definition is here
- __throw_with_nested(_Ex&&, const nested_exception* = 0)
- ^ ~
- 4 errors generated.
Add Comment
Please, Sign In to add comment