Guest User

Untitled

a guest
Nov 17th, 2017
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. /home/noob/soundcloud/src/include/database/database.cpp: In constructor ‘database::database()’:
  2. /home/noob/soundcloud/src/include/database/database.cpp:31:25: error: expected unqualified-id before ‘[’ token
  3. for(auto const& [path, status, size] : items)
  4. ^
  5. /home/noob/soundcloud/src/include/database/database.cpp:31:25: error: expected ‘;’ before ‘[’ token
  6. /home/noob/soundcloud/src/include/database/database.cpp:31:26: error: ‘path’ was not declared in this scope
  7. for(auto const& [path, status, size] : items)
  8. ^~~~
  9. /home/noob/soundcloud/src/include/database/database.cpp:31:26: note: suggested alternatives:
  10. In file included from /usr/include/c++/6/experimental/filesystem:39:0,
  11. from /home/noob/soundcloud/src/include/database/database.h:9,
  12. from /home/noob/soundcloud/src/include/database/database.cpp:1:
  13. /usr/include/c++/6/experimental/bits/fs_path.h:79:9: note: ‘std::experimental::filesystem::v1::path’
  14. class path
  15. ^~~~
  16. /usr/include/c++/6/experimental/bits/fs_path.h:79:9: note: ‘std::experimental::filesystem::v1::path’
  17. /home/noob/soundcloud/src/include/database/database.cpp:31:32: error: ‘status’ was not declared in this scope
  18. for(auto const& [path, status, size] : items)
  19. ^~~~~~
  20. /home/noob/soundcloud/src/include/database/database.cpp:31:32: note: suggested alternatives:
  21. In file included from /usr/include/c++/6/experimental/filesystem:41:0,
  22. from /home/noob/soundcloud/src/include/database/database.h:9,
  23. from /home/noob/soundcloud/src/include/database/database.cpp:1:
  24. /usr/include/c++/6/experimental/bits/fs_ops.h:274:15: note: ‘std::experimental::filesystem::v1::status’
  25. file_status status(const path& __p, error_code& __ec) noexcept;
  26. ^~~~~~
  27. /usr/include/c++/6/experimental/bits/fs_ops.h:274:15: note: ‘std::experimental::filesystem::v1::status’
  28. /home/noob/soundcloud/src/include/database/database.cpp:31:40: error: capture by copy of incomplete type ‘<unresolved overloaded function type>’
  29. for(auto const& [path, status, size] : items)
  30. ^~~~
  31. /home/noob/soundcloud/src/include/database/database.cpp: In lambda function:
  32. /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected ‘{’ before ‘:’ token
  33. for(auto const& [path, status, size] : items)
  34. ^
  35. /home/noob/soundcloud/src/include/database/database.cpp: In constructor ‘database::database()’:
  36. /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected ‘;’ before ‘:’ token
  37. /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected primary-expression before ‘:’ token
  38. /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected ‘)’ before ‘:’ token
  39. /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected primary-expression before ‘:’ token
  40. make[2]: *** [src/include/database/CMakeFiles/database.dir/database.cpp.o] Error 1
  41. make[1]: *** [src/include/database/CMakeFiles/database.dir/all] Error 2
  42. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment