ninja: Entering directory `/Users/dlossenko/projects/react-native-mecab/android/.cxx/Debug/6l2qm663/x86' [1/13] Building CXX object CMakeFiles/cpp.dir/cpp-adapter.cpp.o [2/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/nbest_generator.cpp.o [3/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/libmecab.cpp.o In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/libmecab.cpp:11: In file included from ../../../../../cpp/mecab/tokenizer.h:11: In file included from ../../../../../cpp/mecab/dictionary.h:11: ../../../../../cpp/mecab/darts.h:407:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:408:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:410:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:434:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:435:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register size_t num = 0; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:436:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ n; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:437:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:439:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:472:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/libmecab.cpp:11: In file included from ../../../../../cpp/mecab/tokenizer.h:11: In file included from ../../../../../cpp/mecab/dictionary.h:12: ../../../../../cpp/mecab/char_property.h:40:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char *p = begin; ^~~~~~~~~ /Users/dlossenko/projects/react-native-mecab/cpp/mecab/libmecab.cpp:17:12: warning: unused variable 'kUnknownError' [-Wunused-const-variable] const char kUnknownError[] = "Unknown Error"; ^ 12 warnings generated. [4/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/connector.cpp.o [5/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/dictionary.cpp.o In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/dictionary.cpp:10: ../../../../../cpp/mecab/char_property.h:40:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char *p = begin; ^~~~~~~~~ In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/dictionary.cpp:12: In file included from ../../../../../cpp/mecab/dictionary.h:11: ../../../../../cpp/mecab/darts.h:407:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:408:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:410:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:434:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:435:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register size_t num = 0; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:436:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ n; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:437:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:439:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:472:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/dictionary.cpp:17: ../../../../../cpp/mecab/param.h:30:13: warning: unused function 'lexical_cast, std::basic_string>' [-Wunused-function] std::string lexical_cast(std::string arg) { ^ /Users/dlossenko/projects/react-native-mecab/cpp/mecab/dictionary.cpp:29:5: warning: unused function 'toInt' [-Wunused-function] int toInt(const char *str) { ^ /Users/dlossenko/projects/react-native-mecab/cpp/mecab/dictionary.cpp:65:5: warning: unused function 'progress_bar_darts' [-Wunused-function] int progress_bar_darts(size_t current, size_t total) { ^ 14 warnings generated. [6/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/react-native-mecab.cpp.o [7/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/utils.cpp.o [8/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/eval.cpp.o [9/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/viterbi.cpp.o In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/viterbi.cpp:18: In file included from ../../../../../cpp/mecab/tokenizer.h:11: In file included from ../../../../../cpp/mecab/dictionary.h:11: ../../../../../cpp/mecab/darts.h:407:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:408:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:410:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:434:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:435:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register size_t num = 0; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:436:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ n; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:437:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:439:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:472:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/viterbi.cpp:18: In file included from ../../../../../cpp/mecab/tokenizer.h:11: In file included from ../../../../../cpp/mecab/dictionary.h:12: ../../../../../cpp/mecab/char_property.h:40:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char *p = begin; ^~~~~~~~~ /Users/dlossenko/projects/react-native-mecab/cpp/mecab/viterbi.cpp:321:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long best_cost = 2147483647; ^~~~~~~~~ /Users/dlossenko/projects/react-native-mecab/cpp/mecab/viterbi.cpp:324:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int lcost = connector->cost(lnode, rnode); // local cost ^~~~~~~~~ /Users/dlossenko/projects/react-native-mecab/cpp/mecab/viterbi.cpp:325:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long cost = lnode->cost + lcost; ^~~~~~~~~ In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/viterbi.cpp:14: ../../../../../cpp/mecab/param.h:30:13: warning: unused function 'lexical_cast, std::basic_string>' [-Wunused-function] std::string lexical_cast(std::string arg) { ^ 15 warnings generated. [10/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/writer.cpp.o /Users/dlossenko/projects/react-native-mecab/cpp/mecab/writer.cpp:253:61: warning: adding 'const char' to a string does not append to the string [-Wstring-plus-int] const std::string error = "unknown meta char: " + *p; ~~~~~~~~~~~~~~~~~~~~~~^~~~ /Users/dlossenko/projects/react-native-mecab/cpp/mecab/writer.cpp:253:61: note: use array indexing to silence this warning const std::string error = "unknown meta char: " + *p; ^ & [ ] 1 warning generated. [11/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/tokenizer.cpp.o In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/tokenizer.cpp:8: ../../../../../cpp/mecab/darts.h:407:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:408:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:410:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:434:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:435:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register size_t num = 0; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:436:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ n; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:437:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:439:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:472:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/tokenizer.cpp:12: In file included from ../../../../../cpp/mecab/tokenizer.h:11: In file included from ../../../../../cpp/mecab/dictionary.h:12: ../../../../../cpp/mecab/char_property.h:40:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char *p = begin; ^~~~~~~~~ 11 warnings generated. [12/13] Building CXX object CMakeFiles/cpp.dir/Users/dlossenko/projects/react-native-mecab/cpp/mecab/tagger.cpp.o In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/tagger.cpp:18: In file included from ../../../../../cpp/mecab/tokenizer.h:11: In file included from ../../../../../cpp/mecab/dictionary.h:11: ../../../../../cpp/mecab/darts.h:407:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:408:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:410:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:434:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:435:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register size_t num = 0; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:436:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ n; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:437:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:439:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] for (register size_t i = 0; i < len; ++i) { ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:472:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_type_ b = array_[node_pos].base; ^~~~~~~~~ ../../../../../cpp/mecab/darts.h:473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register array_u_type_ p; ^~~~~~~~~ In file included from /Users/dlossenko/projects/react-native-mecab/cpp/mecab/tagger.cpp:18: In file included from ../../../../../cpp/mecab/tokenizer.h:11: In file included from ../../../../../cpp/mecab/dictionary.h:12: ../../../../../cpp/mecab/char_property.h:40:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char *p = begin; ^~~~~~~~~ 11 warnings generated. [13/13] Linking CXX shared library ../../../../build/intermediates/cxx/Debug/6l2qm663/obj/x86/libcpp.so