Skip to content

vds build command failed. #1

@fastlyos

Description

@fastlyos

Hello.

I do run Android Studio 3.1.3.
I want to know what is the error for the command.

Build command failed.
Error while executing process /Users/peter/Library/Android/sdk/cmake/3.6.4111459/bin/cmake with arguments {--build /Users/peter/devel/Android/vds/android/app/.externalNativeBuild/cmake/debug/x86 --target vds_embedded}
[1/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/app.cpp.o
[2/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/async_task.cpp.o
[3/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/barrier.cpp.o
[4/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/binary_serialize.cpp.o
[5/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/command_line.cpp.o
[6/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/const_data_buffer.cpp.o
[7/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/encoding.cpp.o
[8/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/file.cpp.o
[9/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/filename.cpp.o
[10/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/foldername.cpp.o
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/async_task.cpp:1:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
../../../../../../kernel/vds_core/async_task.h:866:9: warning: '~result_callback' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2233:5: note: in instantiation of member function 'vds::async_result<>::result_callback::~result_callback' requested here
delete __ptr;
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2546:7: note: in instantiation of member function 'std::__ndk1::default_delete<vds::async_result<>::result_callback>::operator()' requested here
_ptr.second()(__tmp);
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2500:19: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::reset' requested here
~unique_ptr() { reset(); }
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:3961:21: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::~unique_ptr' requested here
unique_ptr<_Yp> __hold(_p);
^
../../../../../../kernel/vds_core/async_task.h:822:4: note: in instantiation of function template specialization 'std::ndk1::shared_ptr<vds::async_result<>::result_callback>::shared_ptr<vds::async_result<>::result_callback>' requested here
: impl
(new result_callback(token, owner, std::move(callback)))
^
../../../../../../kernel/vds_core/async_task.h:655:5: note: in instantiation of member function 'vds::async_result<>::async_result' requested here
async_result<result_types...>(
^
../../../../../../kernel/vds_core/async_task.h:894:11: note: in instantiation of function template specialization 'vds::async_task<>::execute<(lambda at ../../../../../../kernel/vds_core/async_task.h:895:9)>' requested here
arg.execute(
^
../../../../../../kernel/vds_core/async_task.h:163:7: note: destructor has a implicit non-throwing exception specification
~result_callback();
^
2 warnings generated.
[11/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/logger.cpp.o
[12/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/mt_service.cpp.o
[13/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/persistence.cpp.o
[14/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/service_provider.cpp.o
[15/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/shutdown_event.cpp.o
[16/131] Building CXX object kernel/vds_core/CMakeFiles/vds_core.dir/shutdown_exception.cpp.o
FAILED: /Users/peter/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android --gcc-toolchain=/Users/peter/Library/Android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/darwin-x86_64 --sysroot=/Users/peter/Library/Android/sdk/ndk-bundle/sysroot -Ikernel/vds_core -I../../../../../../kernel/vds_core -isystem /Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include -isystem /Users/peter/Library/Android/sdk/ndk-bundle/sources/android/support/include -isystem /Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++abi/include -isystem /Users/peter/Library/Android/sdk/ndk-bundle/sysroot/usr/include/i686-linux-android -D__ANDROID_API
=15 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -std=c++14 -frtti -fexceptions -std=c++14 -fPIC -O0 -fno-limit-debug-info -DDEBUG -Wall -Werror=return-type -MD -MT kernel/vds_core/CMakeFiles/vds_core.dir/foldername.cpp.o -MF kernel/vds_core/CMakeFiles/vds_core.dir/foldername.cpp.o.d -o kernel/vds_core/CMakeFiles/vds_core.dir/foldername.cpp.o -c /Users/peter/devel/Android/vds/kernel/vds_core/foldername.cpp
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/foldername.cpp:18:
In file included from ../../../../../../kernel/vds_core/file.h:16:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
/Users/peter/devel/Android/vds/kernel/vds_core/foldername.cpp:227:11: error: no matching constructor for initialization of 'statvfs'
if(0 != statvfs(this->local_name().c_str(), &buf)){
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/peter/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct statvfs { __STATVFS64_BODY };
^
/Users/peter/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/Users/peter/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
/Users/peter/devel/Android/vds/kernel/vds_core/foldername.cpp:250:11: error: no matching constructor for initialization of 'statvfs'
if(0 != statvfs(this->local_name().c_str(), &buf)){
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/peter/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct statvfs { __STATVFS64_BODY };
^
/Users/peter/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/Users/peter/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
1 warning and 2 errors generated.
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/file.cpp:4:
In file included from ../../../../../../kernel/vds_core/file.h:16:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
../../../../../../kernel/vds_core/async_task.h:866:9: warning: '~result_callback' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2233:5: note: in instantiation of member function 'vds::async_result<>::result_callback::~result_callback' requested here
delete __ptr;
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2546:7: note: in instantiation of member function 'std::__ndk1::default_delete<vds::async_result<>::result_callback>::operator()' requested here
_ptr.second()(__tmp);
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2500:19: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::reset' requested here
~unique_ptr() { reset(); }
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:3961:21: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::~unique_ptr' requested here
unique_ptr<_Yp> __hold(__p);
^
../../../../../../kernel/vds_core/async_task.h:822:4: note: in instantiation of function template specialization 'std::_ndk1::shared_ptr<vds::async_result<>::result_callback>::shared_ptr<vds::async_result<>::result_callback>' requested here
: impl
(new result_callback(token, owner, std::move(callback)))
^
../../../../../../kernel/vds_core/async_task.h:655:5: note: in instantiation of member function 'vds::async_result<>::async_result' requested here
async_result<result_types...>(
^
../../../../../../kernel/vds_core/async_task.h:894:11: note: in instantiation of function template specialization 'vds::async_task<>::execute<(lambda at ../../../../../../kernel/vds_core/async_task.h:895:9)>' requested here
arg.execute(
^
../../../../../../kernel/vds_core/async_task.h:163:7: note: destructor has a implicit non-throwing exception specification
~result_callback();
^
2 warnings generated.
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/app.cpp:7:
In file included from ../../../../../../kernel/vds_core/app.h:25:
In file included from ../../../../../../kernel/vds_core/service_provider.h:11:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
../../../../../../kernel/vds_core/async_task.h:866:9: warning: '~result_callback' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2233:5: note: in instantiation of member function 'vds::async_result<>::result_callback::~result_callback' requested here
delete __ptr;
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2546:7: note: in instantiation of member function 'std::__ndk1::default_delete<vds::async_result<>::result_callback>::operator()' requested here
_ptr.second()(__tmp);
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2500:19: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::reset' requested here
~unique_ptr() { reset(); }
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:3961:21: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::~unique_ptr' requested here
unique_ptr<_Yp> __hold(__p);
^
../../../../../../kernel/vds_core/async_task.h:822:4: note: in instantiation of function template specialization 'std::_ndk1::shared_ptr<vds::async_result<>::result_callback>::shared_ptr<vds::async_result<>::result_callback>' requested here
: impl
(new result_callback(token, owner, std::move(callback)))
^
../../../../../../kernel/vds_core/async_task.h:655:5: note: in instantiation of member function 'vds::async_result<>::async_result' requested here
async_result<result_types...>(
^
../../../../../../kernel/vds_core/async_task.h:894:11: note: in instantiation of function template specialization 'vds::async_task<>::execute<(lambda at ../../../../../../kernel/vds_core/async_task.h:895:9)>' requested here
arg.execute(
^
../../../../../../kernel/vds_core/async_task.h:163:7: note: destructor has a implicit non-throwing exception specification
~result_callback();
^
../../../../../../kernel/vds_core/async_task.h:636:7: warning: '~async_task' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
../../../../../../kernel/vds_core/service_provider.h:95:14: note: in instantiation of member function 'vds::async_task<>::~async_task' requested here
return async_task<>::empty();
^
../../../../../../kernel/vds_core/async_task.h:302:4: note: destructor has a implicit non-throwing exception specification
~async_task();
^
3 warnings generated.
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/persistence.cpp:8:
In file included from ../../../../../../kernel/vds_core/persistence.h:10:
In file included from ../../../../../../kernel/vds_core/service_provider.h:11:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
../../../../../../kernel/vds_core/async_task.h:866:9: warning: '~result_callback' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2233:5: note: in instantiation of member function 'vds::async_result<>::result_callback::~result_callback' requested here
delete __ptr;
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2546:7: note: in instantiation of member function 'std::__ndk1::default_delete<vds::async_result<>::result_callback>::operator()' requested here
_ptr.second()(__tmp);
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2500:19: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::reset' requested here
~unique_ptr() { reset(); }
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:3961:21: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::~unique_ptr' requested here
unique_ptr<_Yp> __hold(__p);
^
../../../../../../kernel/vds_core/async_task.h:822:4: note: in instantiation of function template specialization 'std::_ndk1::shared_ptr<vds::async_result<>::result_callback>::shared_ptr<vds::async_result<>::result_callback>' requested here
: impl
(new result_callback(token, owner, std::move(callback)))
^
../../../../../../kernel/vds_core/async_task.h:655:5: note: in instantiation of member function 'vds::async_result<>::async_result' requested here
async_result<result_types...>(
^
../../../../../../kernel/vds_core/async_task.h:894:11: note: in instantiation of function template specialization 'vds::async_task<>::execute<(lambda at ../../../../../../kernel/vds_core/async_task.h:895:9)>' requested here
arg.execute(
^
../../../../../../kernel/vds_core/async_task.h:163:7: note: destructor has a implicit non-throwing exception specification
~result_callback();
^
../../../../../../kernel/vds_core/async_task.h:636:7: warning: '~async_task' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
../../../../../../kernel/vds_core/service_provider.h:95:14: note: in instantiation of member function 'vds::async_task<>::~async_task' requested here
return async_task<>::empty();
^
../../../../../../kernel/vds_core/async_task.h:302:4: note: destructor has a implicit non-throwing exception specification
~async_task();
^
3 warnings generated.
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/logger.cpp:7:
In file included from ../../../../../../kernel/vds_core/logger.h:15:
In file included from ../../../../../../kernel/vds_core/service_provider.h:11:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
../../../../../../kernel/vds_core/async_task.h:866:9: warning: '~result_callback' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2233:5: note: in instantiation of member function 'vds::async_result<>::result_callback::~result_callback' requested here
delete __ptr;
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2546:7: note: in instantiation of member function 'std::__ndk1::default_delete<vds::async_result<>::result_callback>::operator()' requested here
_ptr.second()(__tmp);
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2500:19: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::reset' requested here
~unique_ptr() { reset(); }
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:3961:21: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::~unique_ptr' requested here
unique_ptr<_Yp> __hold(__p);
^
../../../../../../kernel/vds_core/async_task.h:822:4: note: in instantiation of function template specialization 'std::_ndk1::shared_ptr<vds::async_result<>::result_callback>::shared_ptr<vds::async_result<>::result_callback>' requested here
: impl
(new result_callback(token, owner, std::move(callback)))
^
../../../../../../kernel/vds_core/async_task.h:655:5: note: in instantiation of member function 'vds::async_result<>::async_result' requested here
async_result<result_types...>(
^
../../../../../../kernel/vds_core/async_task.h:894:11: note: in instantiation of function template specialization 'vds::async_task<>::execute<(lambda at ../../../../../../kernel/vds_core/async_task.h:895:9)>' requested here
arg.execute(
^
../../../../../../kernel/vds_core/async_task.h:163:7: note: destructor has a implicit non-throwing exception specification
~result_callback();
^
../../../../../../kernel/vds_core/async_task.h:636:7: warning: '~async_task' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
../../../../../../kernel/vds_core/service_provider.h:95:14: note: in instantiation of member function 'vds::async_task<>::~async_task' requested here
return async_task<>::empty();
^
../../../../../../kernel/vds_core/async_task.h:302:4: note: destructor has a implicit non-throwing exception specification
~async_task();
^
3 warnings generated.
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/mt_service.cpp:6:
In file included from ../../../../../../kernel/vds_core/mt_service.h:9:
In file included from ../../../../../../kernel/vds_core/service_provider.h:11:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
/Users/peter/devel/Android/vds/kernel/vds_core/mt_service.cpp:148:8: warning: unused variable 'thread_id' [-Wunused-variable]
auto thread_id = syscall(SYS_gettid);
^
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/mt_service.cpp:6:
In file included from ../../../../../../kernel/vds_core/mt_service.h:9:
In file included from ../../../../../../kernel/vds_core/service_provider.h:11:
../../../../../../kernel/vds_core/async_task.h:866:9: warning: '~result_callback' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2233:5: note: in instantiation of member function 'vds::async_result<>::result_callback::~result_callback' requested here
delete __ptr;
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2546:7: note: in instantiation of member function 'std::__ndk1::default_delete<vds::async_result<>::result_callback>::operator()' requested here
_ptr.second()(__tmp);
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2500:19: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::reset' requested here
~unique_ptr() { reset(); }
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:3961:21: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::~unique_ptr' requested here
unique_ptr<_Yp> __hold(__p);
^
../../../../../../kernel/vds_core/async_task.h:822:4: note: in instantiation of function template specialization 'std::_ndk1::shared_ptr<vds::async_result<>::result_callback>::shared_ptr<vds::async_result<>::result_callback>' requested here
: impl
(new result_callback(token, owner, std::move(callback)))
^
../../../../../../kernel/vds_core/async_task.h:655:5: note: in instantiation of member function 'vds::async_result<>::async_result' requested here
async_result<result_types...>(
^
../../../../../../kernel/vds_core/async_task.h:894:11: note: in instantiation of function template specialization 'vds::async_task<>::execute<(lambda at ../../../../../../kernel/vds_core/async_task.h:895:9)>' requested here
arg.execute(
^
../../../../../../kernel/vds_core/async_task.h:163:7: note: destructor has a implicit non-throwing exception specification
~result_callback();
^
../../../../../../kernel/vds_core/async_task.h:636:7: warning: '~async_task' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
../../../../../../kernel/vds_core/service_provider.h:95:14: note: in instantiation of member function 'vds::async_task<>::~async_task' requested here
return async_task<>::empty();
^
../../../../../../kernel/vds_core/async_task.h:302:4: note: destructor has a implicit non-throwing exception specification
~async_task();
^
4 warnings generated.
In file included from /Users/peter/devel/Android/vds/kernel/vds_core/service_provider.cpp:9:
In file included from ../../../../../../kernel/vds_core/service_provider.h:11:
../../../../../../kernel/vds_core/async_task.h:91:28: warning: while loop has empty body [-Wempty-body]
while(this->process());
^
../../../../../../kernel/vds_core/async_task.h:91:28: note: put the semicolon on a separate line to silence this warning
../../../../../../kernel/vds_core/async_task.h:866:9: warning: '~result_callback' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2233:5: note: in instantiation of member function 'vds::async_result<>::result_callback::~result_callback' requested here
delete __ptr;
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2546:7: note: in instantiation of member function 'std::__ndk1::default_delete<vds::async_result<>::result_callback>::operator()' requested here
_ptr.second()(__tmp);
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:2500:19: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::reset' requested here
~unique_ptr() { reset(); }
^
/Users/peter/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/memory:3961:21: note: in instantiation of member function 'std::__ndk1::unique_ptr<vds::async_result<>::result_callback, std::__ndk1::default_delete<vds::async_result<>::result_callback> >::~unique_ptr' requested here
unique_ptr<_Yp> __hold(__p);
^
../../../../../../kernel/vds_core/async_task.h:822:4: note: in instantiation of function template specialization 'std::_ndk1::shared_ptr<vds::async_result<>::result_callback>::shared_ptr<vds::async_result<>::result_callback>' requested here
: impl
(new result_callback(token, owner, std::move(callback)))
^
../../../../../../kernel/vds_core/async_task.h:655:5: note: in instantiation of member function 'vds::async_result<>::async_result' requested here
async_result<result_types...>(
^
../../../../../../kernel/vds_core/async_task.h:894:11: note: in instantiation of function template specialization 'vds::async_task<>::execute<(lambda at ../../../../../../kernel/vds_core/async_task.h:895:9)>' requested here
arg.execute(
^
../../../../../../kernel/vds_core/async_task.h:163:7: note: destructor has a implicit non-throwing exception specification
~result_callback();
^
../../../../../../kernel/vds_core/async_task.h:636:7: warning: '~async_task' has a non-throwing exception specification but can still throw [-Wexceptions]
throw std::runtime_error("Task without execute");
^
../../../../../../kernel/vds_core/service_provider.h:95:14: note: in instantiation of member function 'vds::async_task<>::~async_task' requested here
return async_task<>::empty();
^
../../../../../../kernel/vds_core/async_task.h:302:4: note: destructor has a implicit non-throwing exception specification
~async_task();
^
3 warnings generated.
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions