Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/noob/soundcloud/src/include/database/database.cpp: In constructor ‘database::database()’:
- /home/noob/soundcloud/src/include/database/database.cpp:31:25: error: expected unqualified-id before ‘[’ token
- for(auto const& [path, status, size] : items)
- ^
- /home/noob/soundcloud/src/include/database/database.cpp:31:25: error: expected ‘;’ before ‘[’ token
- /home/noob/soundcloud/src/include/database/database.cpp:31:26: error: ‘path’ was not declared in this scope
- for(auto const& [path, status, size] : items)
- ^~~~
- /home/noob/soundcloud/src/include/database/database.cpp:31:26: note: suggested alternatives:
- In file included from /usr/include/c++/6/experimental/filesystem:39:0,
- from /home/noob/soundcloud/src/include/database/database.h:9,
- from /home/noob/soundcloud/src/include/database/database.cpp:1:
- /usr/include/c++/6/experimental/bits/fs_path.h:79:9: note: ‘std::experimental::filesystem::v1::path’
- class path
- ^~~~
- /usr/include/c++/6/experimental/bits/fs_path.h:79:9: note: ‘std::experimental::filesystem::v1::path’
- /home/noob/soundcloud/src/include/database/database.cpp:31:32: error: ‘status’ was not declared in this scope
- for(auto const& [path, status, size] : items)
- ^~~~~~
- /home/noob/soundcloud/src/include/database/database.cpp:31:32: note: suggested alternatives:
- In file included from /usr/include/c++/6/experimental/filesystem:41:0,
- from /home/noob/soundcloud/src/include/database/database.h:9,
- from /home/noob/soundcloud/src/include/database/database.cpp:1:
- /usr/include/c++/6/experimental/bits/fs_ops.h:274:15: note: ‘std::experimental::filesystem::v1::status’
- file_status status(const path& __p, error_code& __ec) noexcept;
- ^~~~~~
- /usr/include/c++/6/experimental/bits/fs_ops.h:274:15: note: ‘std::experimental::filesystem::v1::status’
- /home/noob/soundcloud/src/include/database/database.cpp:31:40: error: capture by copy of incomplete type ‘<unresolved overloaded function type>’
- for(auto const& [path, status, size] : items)
- ^~~~
- /home/noob/soundcloud/src/include/database/database.cpp: In lambda function:
- /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected ‘{’ before ‘:’ token
- for(auto const& [path, status, size] : items)
- ^
- /home/noob/soundcloud/src/include/database/database.cpp: In constructor ‘database::database()’:
- /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected ‘;’ before ‘:’ token
- /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected primary-expression before ‘:’ token
- /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected ‘)’ before ‘:’ token
- /home/noob/soundcloud/src/include/database/database.cpp:31:46: error: expected primary-expression before ‘:’ token
- make[2]: *** [src/include/database/CMakeFiles/database.dir/database.cpp.o] Error 1
- make[1]: *** [src/include/database/CMakeFiles/database.dir/all] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment