Guest User

Untitled

a guest
Oct 27th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. g++ encrypt.cpp -o encrypt -g -std=c++11
  2. In file included from /usr/include/c++/4.8/vector:63:0,
  3. from encrypt.cpp:2:
  4. /usr/include/c++/4.8/bits/stl_uninitialized.h: In instantiation of ‘static void std::__uninitialized_default_n_1<true>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = char (*)[8]; _Size = long unsigned int]’:
  5. /usr/include/c++/4.8/bits/stl_uninitialized.h:544:33: required from ‘void std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = char (*)[8]; _Size = long unsigned int]’
  6. /usr/include/c++/4.8/bits/stl_uninitialized.h:605:50: required from ‘void std::__uninitialized_default_n_a(_ForwardIterator, _Size, std::allocator<_Tp>&) [with _ForwardIterator = char (*)[8]; _Size = long unsigned int; _Tp = char [8]]’
  7. /usr/include/c++/4.8/bits/stl_vector.h:1225:28: required from ‘void std::vector<_Tp, _Alloc>::_M_default_initialize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = char [8]; _Alloc = std::allocator<char [8]>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’
  8. /usr/include/c++/4.8/bits/stl_vector.h:271:34: required from ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = char [8]; _Alloc = std::allocator<char [8]>; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<char [8]>]’
  9. encrypt.cpp:9:39: required from here
  10. /usr/include/c++/4.8/bits/stl_uninitialized.h:515:42: error: functional cast to array type ‘_ValueType {aka char [8]}’
  11. std::fill_n(__first, __n, _ValueType());
  12. ^
  13. make: *** [encrypt] Error 1
Advertisement
Add Comment
Please, Sign In to add comment