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

add more language dictionaries #2

Open
remi0s opened this issue Apr 22, 2018 · 7 comments
Open

add more language dictionaries #2

remi0s opened this issue Apr 22, 2018 · 7 comments

Comments

@remi0s
Copy link

remi0s commented Apr 22, 2018

I managed to build the keyboard following your guide. I prebuild the libjni_latinime.so files using this git ( https://github.com/modricwang/ctrlaltdel-aosp-ime) after i have changed all references to the package name. This way i have avoided to download and build the whole AOSP tree.
Allthough i would like to add more language predict words , so i need the binary .dict files for greek and arabic language. How can i add them? do i really need to download the whole aosp to build the dicts using dicttool?
Any help is appreciated

@nickyk2407
Copy link

@remi0s
Hi,

I am trying to prebuild the libjni_latinime.so files using this git ( https://github.com/modricwang/ctrlaltdel-aosp-ime) .

I just cloned the project and trying to build it but I am getting below error:

Build command failed.
Error while executing process C:\Users\Dev4\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app.externalNativeBuild\cmake\debug\armeabi-v7a --target jni_latinime}
[1/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/command_executors/header_executor.cpp.o
[2/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/command_executors/diff_executor.cpp.o
[3/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/command_executors/makedict_executor.cpp.o
[4/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/dict_toolkit_main.cpp.o
[5/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/command_executors/help_executor.cpp.o
[6/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/command_executors/info_executor.cpp.o
[7/98] Building CXX object CMakeFiles/jni_latinime.dir/eb49615ed19d4b8ef52b9b521f76dc5a/offdevice_intermediate_dict.cpp.o
[8/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/io_github_ctrlaltdel_aosp_ime_latin_DicTraverseSession.cpp.o
[9/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/property/ngram_context.cpp.o
[10/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/header/header_read_write_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\property\ngram_context.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/property/ngram_context.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[11/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/backward/v402/ver4_patricia_trie_policy.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\dict_toolkit_main.cpp:19:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[12/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/utils/utf8_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\command_executors\help_executor.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\command_executors/help_executor.h:20:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[13/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionary.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\offdevice_intermediate_dict\offdevice_intermediate_dict.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\offdevice_intermediate_dict/offdevice_intermediate_dict.h:20:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[14/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/utils/command_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\command_executors\diff_executor.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\command_executors/diff_executor.h:20:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[15/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/header/header_policy.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\header\header_read_write_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/header/header_read_write_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[16/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionaryUtils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\utils\utf8_utils.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\utils/utf8_utils.h:24:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[17/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/dicttoolkit/src/utils/arguments_parser.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\command_executors\header_executor.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\command_executors/header_executor.h:20:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[18/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/io_github_ctrlaltdel_aosp_ime_keyboard_ProximityInfo.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\command_executors\info_executor.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\command_executors/info_executor.h:20:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[19/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/jni_common.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\command_executors\makedict_executor.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\command_executors/makedict_executor.h:20:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[20/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/ver4_patricia_trie_node_reader.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\jni_common.cpp:25:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[21/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/ver4_patricia_trie_node_writer.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\io_github_ctrlaltdel_aosp_ime_latin_DicTraverseSession.cpp:21:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[22/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/bigram/ver4_bigram_list_policy.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\header\header_policy.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/header/header_policy.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[23/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/content/sparse_table_dict_content.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\utils\command_utils.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\utils/command_utils.h:24:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[24/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/content/shortcut_dict_content.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionaryUtils.cpp:21:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[25/98] Building CXX object CMakeFiles/jni_latinime.dir/04338023d830ee25c4b63f9de5ec12ca/content/terminal_position_lookup_table.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\io_github_ctrlaltdel_aosp_ime_keyboard_ProximityInfo.cpp:21:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[26/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/backward/v402/content/bigram_dict_content.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionary.cpp:24:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[27/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/content/probability_dict_content.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_patricia_trie_node_reader.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[28/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/backward/v402/ver4_dict_buffers.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_patricia_trie_policy.cpp:25:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_patricia_trie_policy.h:30:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[29/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/backward/v402/ver4_dict_constants.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\content\sparse_table_dict_content.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/content/sparse_table_dict_content.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[30/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/pt_common/dynamic_pt_reading_helper.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_dict_constants.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_dict_constants.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[31/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/pt_common/dynamic_pt_reading_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\bigram\ver4_bigram_list_policy.cpp:25:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h:28:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[32/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/backward/v402/ver4_pt_node_array_reader.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\content\shortcut_dict_content.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/content/shortcut_dict_content.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[33/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/ver4_patricia_trie_reading_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\dynamic_pt_reading_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/dynamic_pt_reading_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[34/98] Building CXX object CMakeFiles/jni_latinime.dir/b1f0d91ee45e040b2da34cf6bb133c5b/v402/ver4_patricia_trie_writing_helper.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_patricia_trie_node_writer.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[35/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/dictionary_structure_with_buffer_policy_factory.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_patricia_trie_reading_utils.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_patricia_trie_reading_utils.h:29:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[36/98] Building CXX object CMakeFiles/jni_latinime.dir/448f17e7aeb65fa3b87dbf8b46c714e9/bigram/bigram_list_read_write_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\content\terminal_position_lookup_table.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/content/terminal_position_lookup_table.h:29:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[37/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/pt_common/dynamic_pt_updating_helper.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\content\bigram_dict_content.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/content/bigram_dict_content.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[38/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/pt_common/dynamic_pt_writing_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\content\probability_dict_content.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/content/probability_dict_content.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[39/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/pt_common/dynamic_pt_gc_event_listeners.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_pt_node_array_reader.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_pt_node_array_reader.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[40/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/pt_common/patricia_trie_reading_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\dicttoolkit\src\utils\arguments_parser.cpp:17:
In file included from ../../../../src/main/cpp/dicttoolkit/src\utils/arguments_parser.h:24:
In file included from ../../../../src/main/cpp/dicttoolkit/src\dict_toolkit_defines.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[41/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v2/patricia_trie_policy.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\dynamic_pt_reading_helper.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/dynamic_pt_reading_helper.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[42/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/v4/content/language_model_dict_content.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\patricia_trie_reading_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/patricia_trie_reading_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[43/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/content/shortcut_dict_content.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_dict_buffers.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_dict_buffers.h:29:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[44/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/v4/content/sparse_table_dict_content.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\bigram\bigram_list_read_write_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[45/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/v4/content/terminal_position_lookup_table.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\dynamic_pt_writing_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/dynamic_pt_writing_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[46/98] Building CXX object CMakeFiles/jni_latinime.dir/448f17e7aeb65fa3b87dbf8b46c714e9/shortcut/shortcut_list_reading_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\dynamic_pt_updating_helper.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/dynamic_pt_updating_helper.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[47/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v2/ver2_pt_node_array_reader.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\shortcut\shortcut_list_reading_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[48/98] Building CXX object CMakeFiles/jni_latinime.dir/abfe1f4e7720ff1e1ae21ae6f66db654/dynamic_language_model_probability_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\content\shortcut_dict_content.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/shortcut_dict_content.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[49/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v2/ver2_patricia_trie_node_reader.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\backward\v402\ver4_patricia_trie_writing_helper.cpp:24:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/backward/v402/ver4_patricia_trie_writing_helper.h:27:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[50/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/content/language_model_dict_content_global_counters.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\pt_common\dynamic_pt_gc_event_listeners.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[51/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/ver4_patricia_trie_policy.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\content\sparse_table_dict_content.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/sparse_table_dict_content.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[52/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/ver4_dict_constants.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v2\ver2_pt_node_array_reader.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v2/ver2_pt_node_array_reader.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[53/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/v4/ver4_patricia_trie_reading_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_dict_constants.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_dict_constants.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[54/98] Building CXX object CMakeFiles/jni_latinime.dir/66eeac9ecf5ad9c21e1ad750f76848a7/v4/ver4_patricia_trie_writing_helper.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_patricia_trie_reading_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_patricia_trie_reading_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[55/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/ver4_pt_node_array_reader.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\content\dynamic_language_model_probability_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/dynamic_language_model_probability_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[56/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/ver4_patricia_trie_node_writer.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\dictionary_structure_with_buffer_policy_factory.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/dictionary_structure_with_buffer_policy_factory.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[57/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/ver4_patricia_trie_node_reader.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\content\terminal_position_lookup_table.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/terminal_position_lookup_table.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[58/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/ver4_dict_buffers.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v2\ver2_patricia_trie_node_reader.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v2/ver2_patricia_trie_node_reader.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[59/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/byte_array_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\content\language_model_dict_content_global_counters.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[60/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/buffer_with_extendable_buffer.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\byte_array_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/byte_array_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[61/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/multi_bigram_map.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\content\language_model_dict_content.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[62/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/dict_file_writing_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_pt_node_array_reader.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_pt_node_array_reader.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[63/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/probability_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v2\patricia_trie_policy.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v2/patricia_trie_policy.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[64/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/forgetting_curve_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_patricia_trie_node_reader.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_patricia_trie_node_reader.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[65/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/file_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\probability_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/probability_utils.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[66/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/trie_map.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\buffer_with_extendable_buffer.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/buffer_with_extendable_buffer.h:24:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[67/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/sparse_table.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\file_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/file_utils.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[68/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/format_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_patricia_trie_writing_helper.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_patricia_trie_writing_helper.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[69/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/utils/mmapped_buffer.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_patricia_trie_node_writer.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_patricia_trie_node_writer.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[70/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/dictionary/digraph_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\format_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/format_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[71/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/dicnode/dic_node_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_dict_buffers.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_dict_buffers.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[72/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/dicnode/dic_node.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\mmapped_buffer.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/mmapped_buffer.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[73/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/layout/additional_proximity_chars.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\dict_file_writing_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/dict_file_writing_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[74/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/dictionary/dictionary_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\sparse_table.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/sparse_table.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[75/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/dictionary/dictionary.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\multi_bigram_map.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/multi_bigram_map.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[76/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/dicnode/dic_nodes_cache.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\forgetting_curve_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/forgetting_curve_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[77/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/dictionary/error_type_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\structure\v4\ver4_patricia_trie_policy.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/structure/v4/ver4_patricia_trie_policy.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[78/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/utils/autocorrection_threshold_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\dictionary\digraph_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/dictionary/digraph_utils.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[79/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/result/suggestions_output_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\dictionary\utils\trie_map.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\dictionary/utils/trie_map.h:25:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[80/98] Building CXX object CMakeFiles/jni_latinime.dir/120608df95d4e39dcda983c93a501682/gesture/gesture_suggest_policy_factory.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\dictionary\error_type_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/dictionary/error_type_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[81/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/policyimpl/typing/typing_weighting.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\policyimpl\gesture\gesture_suggest_policy_factory.cpp:17:
In file included from ../../../../src/main/cpp/jni/src/suggest/policyimpl/gesture/gesture_suggest_policy_factory.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[82/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/result/suggestion_results.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\layout\additional_proximity_chars.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/layout/additional_proximity_chars.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[83/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/policyimpl/typing/typing_suggest_policy.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\dicnode\dic_node.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/dicnode/dic_node.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[84/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/suggest.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\dicnode\dic_node_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/dicnode/dic_node_utils.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[85/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/policyimpl/typing/scoring_params.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\utils\autocorrection_threshold_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\utils/autocorrection_threshold_utils.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[86/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/policyimpl/typing/typing_traversal.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\policyimpl\typing\scoring_params.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/policyimpl/typing/scoring_params.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[87/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/session/dic_traverse_session.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\dicnode\dic_nodes_cache.cpp:19:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[88/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/policyimpl/typing/typing_scoring.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\dictionary\dictionary_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/dictionary/dictionary_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[89/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/utils/char_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\result\suggestion_results.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/result/suggestion_results.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[90/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/utils/jni_data_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\dictionary\dictionary.cpp:19:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/dictionary/dictionary.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[91/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/layout/proximity_info_state_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\policyimpl\typing\typing_weighting.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/policyimpl/typing/typing_weighting.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[92/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/layout/proximity_info_state.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\policyimpl\typing\typing_suggest_policy.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/policyimpl/typing/typing_suggest_policy.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[93/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/policy/weighting.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\result\suggestions_output_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/result/suggestions_output_utils.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[94/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/layout/proximity_info.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\utils\char_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\utils/char_utils.h:24:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[95/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/suggest/core/layout/proximity_info_params.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\policyimpl\typing\typing_traversal.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/policyimpl/typing/typing_traversal.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[96/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/utils/time_keeper.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\layout\proximity_info_params.cpp:17:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[97/98] Building CXX object CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/utils/log_utils.cpp.o
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\utils\time_keeper.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\utils/time_keeper.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\utils\log_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src/utils/log_utils.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\suggest.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/suggest.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\utils\jni_data_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\utils/jni_data_utils.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\policyimpl\typing\typing_scoring.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/policyimpl/typing/typing_scoring.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\session\dic_traverse_session.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/session/dic_traverse_session.h:22:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\layout\proximity_info.cpp:19:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/layout/proximity_info.h:23:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\layout\proximity_info_state.cpp:19:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/layout/proximity_info_state.h:24:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\policy\weighting.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/policy/weighting.h:20:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
In file included from C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni\src\suggest\core\layout\proximity_info_state_utils.cpp:17:
In file included from ../../../../src/main/cpp/jni/src\suggest/core/layout/proximity_info_state_utils.h:24:
../../../../src/main/cpp/jni/src\defines.h:79:30: warning: comparison 'const int' <= 2147483647 is always true [-Wtautological-constant-compare]
} else if (codePoint <= 0x7FFFFFFF) { // Six bytes
~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
[98/98] Linking CXX shared library ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libjni_latinime.so
FAILED: cmd.exe /C "cd . && C:\Users\Dev4\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi --gcc-toolchain=C:/Users/Dev4/AppData/Local/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Dev4/AppData/Local/Android/Sdk/ndk-bundle/sysroot -fPIC -isystem C:/Users/Dev4/AppData/Local/Android/Sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=15 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ --sysroot C:/Users/Dev4/AppData/Local/Android/Sdk/ndk-bundle/platforms/android-15/arch-arm -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--fix-cortex-a8 -Wl,--exclude-libs,libunwind.a -LC:/Users/Dev4/AppData/Local/Android/Sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libjni_latinime.so -o ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libjni_latinime.so @CMakeFiles/jni_latinime.rsp && cd ."
C:/Users/Dev4/AppData/Local/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot open CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/dictionary_structure_with_buffer_policy_factory.cpp.o: No such file or directory
C:/Users/Dev4/AppData/Local/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot open CMakeFiles/jni_latinime.dir/src/main/cpp/jni/src/dictionary/structure/v4/content/language_model_dict_content_global_counters.cpp.o: No such file or directory
C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni/io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionary.cpp:58: error: undefined reference to 'latinime::DictionaryStructureWithBufferPolicyFactory::newPolicyForExistingDictFile(char const*, int, int, bool)'
C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni/io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionary.cpp:89: error: undefined reference to 'latinime::DictionaryStructureWithBufferPolicyFactory::newPolicyForOnMemoryDict(int, std::__ndk1::vector<int, std::__ndk1::allocator > const&, std::__ndk1::map<std::__ndk1::vector<int, std::__ndk1::allocator >, std::__ndk1::vector<int, std::__ndk1::allocator >, std::__ndk1::less<std::__ndk1::vector<int, std::__ndk1::allocator > >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::vector<int, std::__ndk1::allocator > const, std::__ndk1::vector<int, std::__ndk1::allocator > > > > const*)'
C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni/io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionary.cpp:559: error: undefined reference to 'latinime::DictionaryStructureWithBufferPolicyFactory::newPolicyForOnMemoryDict(int, std::__ndk1::vector<int, std::__ndk1::allocator > const&, std::__ndk1::map<std::__ndk1::vector<int, std::__ndk1::allocator >, std::__ndk1::vector<int, std::__ndk1::allocator >, std::__ndk1::less<std::__ndk1::vector<int, std::__ndk1::allocator > >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::vector<int, std::__ndk1::allocator > const, std::__ndk1::vector<int, std::__ndk1::allocator > > > > const*)'
C:\Users\Dev4\Desktop\Boost\boost_dev\ctrlaltdel-aosp-ime-master\ctrlaltdel-aosp-ime-master\app\src\main\cpp\jni/io_github_ctrlaltdel_aosp_ime_latin_BinaryDictionary.cpp:541: error: undefined reference to 'latinime::DictionaryStructureWithBufferPolicyFactory::newPolicyForExistingDictFile(char const*, int, int, bool)'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::COUNTER_SIZE_IN_BYTES'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::TOTAL_COUNT_INDEX'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::COUNTER_SIZE_IN_BYTES'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::MAX_VALUE_OF_COUNTERS_INDEX'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::TOTAL_COUNT_INDEX'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::MAX_VALUE_OF_COUNTERS_INDEX'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::COUNTER_SIZE_IN_BYTES'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::COUNTER_SIZE_IN_BYTES'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::COUNTER_VALUE_NEAR_LIMIT_THRESHOLD'
../../../../src/main/cpp/jni/src\dictionary/structure/v4/content/language_model_dict_content_global_counters.h:0: error: undefined reference to 'latinime::LanguageModelDictContentGlobalCounters::TOTAL_COUNT_VALUE_NEAR_LIMIT_THRESHOLD'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

Build.gradle:

apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "io.github.ctrlaltdel.aosp.ime"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
arguments '-DANDROID_STL=c++_static',
'-DANDROID_PLATFORM=android-15',
'-DANDROID_TOOLCHAIN=clang'
}
}
ndk {
/*
* Specifies the ABI configurations of your native
* libraries Gradle should build and package with your APK.
*/
abiFilters 'armeabi-v7a'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
aaptOptions {
noCompress 'dict'
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support:appcompat-v7:25.1.1'
testImplementation 'junit:junit:4.12'
implementation project(path: ':ctrlaltdel-aosp-ime-common')
}

@remi0s
Copy link
Author

remi0s commented Jul 11, 2018

You seem to miss some files either from the project , either from android studio's Cmake and ndkbuild.
have u installed in android studio Cmake and ndkbuild?
sorry but i'm not that good at debugging such errors

what i can suggest you, is to build the latinime entirely using the following git :
https://github.com/ColinKinloch/LatinIME_apk
Wish this git was existed when i first started my project, would save me much time. Thx to ColinKinloch, seems to be the only latinime in android studio without any problems

@nickyk2407
Copy link

nickyk2407 commented Jul 11, 2018 via email

@remi0s
Copy link
Author

remi0s commented Jul 11, 2018

this is the repository for indic keyboard:
https://github.com/smc/Indic-Keyboard

i tried to compile it but i couldn't, probably needs some tweaking.

@nickyk2407
Copy link

nickyk2407 commented Jul 11, 2018 via email

@remi0s
Copy link
Author

remi0s commented Jul 11, 2018

Well, good luck on that :P
Gboard is not opensource,i wish it was
allthough it is based on latinime

@abhinavp403
Copy link

Hey, I was successfully able to generate the .so files using (https://github.com/modricwang/ctrlaltdel-aosp-ime) after changing the package names. But it seems that the dictionary files under assets/raw don't can not be found.
I read somewhere else that perhaps while generating the .so files the res folder is not included. I'm not too familiar with native code, but is there any way modify the Android.mk class so that the res folder can also be included during the .so files generation.

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

3 participants