Git Product home page Git Product logo

vds's Introduction

Virtual Distributed System

It is fully distributed storage system.
===================================================
Build Linux

------ build libC++

sudo add-apt-repository universe
sudo apt-get install -y git cmake clang-6.0 subversion libssl-dev zlib1g-dev

svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm/projects                                                   
svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi
cd ..

export CC=/usr/bin/clang-6.0
export CXX=/usr/bin/clang++-6.0


mkdir build
cd build
cmake ..

make cxx
make install-cxx install-cxxabi

------ build GTest
git clone https://github.com/google/googletest.git gtest

export CC="/usr/bin/clang-6.0 -fPIC -fcoroutines-ts -pthread"
export CXX="/usr/bin/clang-6.0 -std=c++17 -fPIC -fcoroutines-ts -stdlib=libc++ -pthread"

cd gtest
mkdir build
cd build
cmake ..
make
sudo make install
------ buid VDS
mkdir build
cd build
cmake ..
make
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
./vds_web_server server service --root-folder /home/vadim/projects/vds/build/app/vds_web_server  --web /home/vadim/projects/vds/www
 

=======
cd <vds>
mkdir build
cd build
cmake ..
make
sudo make install


===================================================
Build OpenSSL Android

export ANDROID_NDK=/home/vadim/Android/Sdk/ndk-bundle
PATH=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64:$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
./Configure android-x86_64 no-tests no-shared no-ssl3 no-comp no-hw no-engine no-stdio no-ui-console  -D__ANDROID_API__=28 --prefix=/home/vadim/projects/openssl/build


PATH=$ANDROID_NDK/toolchains/x86_64-4.9/prebuilt/linux-x86_64:$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
./Configure android-x86_64 no-tests no-shared no-ssl3 no-comp no-hw no-engine no-stdio no-ui-console   -D__ANDROID_API__=28 --prefix=/home/vadim/projects/openssl/build
-----------
RASPBERRY PI 3
Ubuntu MATE
sudo systemctl enable ssh
sudo service ssh restart

Install dependencies:
sudo apt-get update
sudo apt-get install -y git install cmake build-essential libssl-dev zlib1g-dev libgtest-dev 
sudo apt-get install -y git install cmake clang-6.0 libssl-dev zlib1g-dev libgtest-dev libc++-dev libc++abi-dev

cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make

mkdir ~/projects
cd ~/projects
git clone https://github.com/lboss75/vds.git
cd ~/projects/vds

mkdir build
cd build
cmake .. -DGTEST_LIBRARY=/usr/src/gtest/libgtest.a -DGTEST_MAIN_LIBRARY=/usr/src/gtest/libgtest_main.a
make vds_web_server
cd app/vds_web_server
./vds_web_server server start --root-folder ~/projects/vds/build/app/vds_web_server  --web ~/projects/vds/www/

================
Co routenes
sudo apt-get install -y git install cmake clang-6.0 libssl-dev zlib1g-dev libgtest-dev libc++-dev

export CC=/usr/bin/clang-6.0
export CXX=/usr/bin/clang++-6.0
                                                   
svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
cd libcxx
mkdir build
cd build
cmake ..
make
sudo make install

vds's People

Contributors

lboss75 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

vds's Issues

vds build command failed.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.