Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-virtual destructor #33

Open
jwijffels opened this issue Nov 29, 2020 · 0 comments
Open

non-virtual destructor #33

jwijffels opened this issue Nov 29, 2020 · 0 comments

Comments

@jwijffels
Copy link
Contributor

Running `R CMD build`...
* checking for file ‘/Users/userzerO6r5S/Rtemp/RtmpmR5WYV/remotesfce2e490d99/ruimtehol/DESCRIPTION’ ... OK
* preparing ‘ruimtehol’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking vignette meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘ruimtehol_0.3.tar.gz’
Installing package into ‘/Users/userzerO6r5S/R’
(as ‘lib’ is unspecified)
* installing *source* package ‘ruimtehol’ ...
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/utils/args.cpp -o Starspace/src/utils/args.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/utils/normalize.cpp -o Starspace/src/utils/normalize.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/utils/utils.cpp -o Starspace/src/utils/utils.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/data.cpp -o Starspace/src/data.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/dict.cpp -o Starspace/src/dict.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/doc_data.cpp -o Starspace/src/doc_data.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/doc_parser.cpp -o Starspace/src/doc_parser.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/model.cpp -o Starspace/src/model.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/parser.cpp -o Starspace/src/parser.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/proj.cpp -o Starspace/src/proj.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Starspace/src/starspace.cpp -o Starspace/src/starspace.o
In file included from <built-in>:1:
In file included from ./compliance.h:3:
In file included from /Users/userzerO6r5S/R/Rcpp/include/Rcpp.h:27:
In file included from /Users/userzerO6r5S/R/Rcpp/include/RcppCommon.h:29:
In file included from /Users/userzerO6r5S/R/Rcpp/include/Rcpp/r/headers.h:67:
In file included from /Users/userzerO6r5S/R/Rcpp/include/Rcpp/platform/compiler.h:153:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/unordered_map:369:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__hash_table:16:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: warning: destructor called on non-final 'starspace::DataParser' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
    __data_.second().~_Tp();
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3617:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<starspace::DataParser, std::__1::allocator<starspace::DataParser> >::__on_zero_shared' requested here
        __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<starspace::DataParser, std::__1::allocator<starspace::DataParser> >::__shared_ptr_emplace<std::__1::shared_ptr<starspace::Dictionary> &, std::__1::shared_ptr<starspace::Args> &>' requested here
    ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<starspace::DataParser>::make_shared<std::__1::shared_ptr<starspace::Dictionary> &, std::__1::shared_ptr<starspace::Args> &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
Starspace/src/starspace.cpp:35:15: note: in instantiation of function template specialization 'std::__1::make_shared<starspace::DataParser, std::__1::shared_ptr<starspace::Dictionary> &, std::__1::shared_ptr<starspace::Args> &>' requested here
    parser_ = make_shared<DataParser>(dict_, args_);
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
    __data_.second().~_Tp();
                      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: warning: destructor called on non-final 'starspace::LayerDataParser' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
    __data_.second().~_Tp();
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3617:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<starspace::LayerDataParser, std::__1::allocator<starspace::LayerDataParser> >::__on_zero_shared' requested here
        __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<starspace::LayerDataParser, std::__1::allocator<starspace::LayerDataParser> >::__shared_ptr_emplace<std::__1::shared_ptr<starspace::Dictionary> &, std::__1::shared_ptr<starspace::Args> &>' requested here
    ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<starspace::LayerDataParser>::make_shared<std::__1::shared_ptr<starspace::Dictionary> &, std::__1::shared_ptr<starspace::Args> &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
Starspace/src/starspace.cpp:37:15: note: in instantiation of function template specialization 'std::__1::make_shared<starspace::LayerDataParser, std::__1::shared_ptr<starspace::Dictionary> &, std::__1::shared_ptr<starspace::Args> &>' requested here
    parser_ = make_shared<LayerDataParser>(dict_, args_);
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
    __data_.second().~_Tp();
                      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: warning: destructor called on non-final 'starspace::InternDataHandler' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
    __data_.second().~_Tp();
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3617:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<starspace::InternDataHandler, std::__1::allocator<starspace::InternDataHandler> >::__on_zero_shared' requested here
        __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<starspace::InternDataHandler, std::__1::allocator<starspace::InternDataHandler> >::__shared_ptr_emplace<std::__1::shared_ptr<starspace::Args> &>' requested here
    ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<starspace::InternDataHandler>::make_shared<std::__1::shared_ptr<starspace::Args> &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
Starspace/src/starspace.cpp:63:12: note: in instantiation of function template specialization 'std::__1::make_shared<starspace::InternDataHandler, std::__1::shared_ptr<starspace::Args> &>' requested here
    return make_shared<InternDataHandler>(args_);
           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
    __data_.second().~_Tp();
                      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: warning: destructor called on non-final 'starspace::LayerDataHandler' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
    __data_.second().~_Tp();
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3617:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<starspace::LayerDataHandler, std::__1::allocator<starspace::LayerDataHandler> >::__on_zero_shared' requested here
        __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<starspace::LayerDataHandler, std::__1::allocator<starspace::LayerDataHandler> >::__shared_ptr_emplace<std::__1::shared_ptr<starspace::Args> &>' requested here
    ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<starspace::LayerDataHandler>::make_shared<std::__1::shared_ptr<starspace::Args> &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
Starspace/src/starspace.cpp:65:12: note: in instantiation of function template specialization 'std::__1::make_shared<starspace::LayerDataHandler, std::__1::shared_ptr<starspace::Args> &>' requested here
    return make_shared<LayerDataHandler>(args_);
           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
    __data_.second().~_Tp();
                      ^
4 warnings generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c rcpp_textspace.cpp -o rcpp_textspace.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c compliance.cpp -o compliance.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -include compliance.h -I./Starspace/src -I'/Users/userzerO6r5S/R/Rcpp/include' -I'/Users/userzerO6r5S/R/BH/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o ruimtehol.so Starspace/src/utils/args.o Starspace/src/utils/normalize.o Starspace/src/utils/utils.o Starspace/src/data.o Starspace/src/dict.o Starspace/src/doc_data.o Starspace/src/doc_parser.o Starspace/src/model.o Starspace/src/parser.o Starspace/src/proj.o Starspace/src/starspace.o rcpp_textspace.o compliance.o RcppExports.o -pthread -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
rm -f Starspace/src/utils/args.o Starspace/src/utils/normalize.o Starspace/src/utils/utils.o Starspace/src/data.o Starspace/src/dict.o Starspace/src/doc_data.o Starspace/src/doc_parser.o Starspace/src/model.o Starspace/src/parser.o Starspace/src/proj.o Starspace/src/starspace.o rcpp_textspace.o compliance.o RcppExports.o
installing to /Users/userzerO6r5S/R/00LOCK-ruimtehol/00new/ruimtehol/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* creating tarball
packaged installation of ‘ruimtehol’ as ‘ruimtehol_0.3.tgz’
* DONE (ruimtehol)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant