Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` [build] [88/235 31% :: 2.167] Building C object jerry-core\CMakeFiles\jerry-core.dir\api\jerryscript.c.obj [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\api\jerryscript.c(3239): warning C4028: formal parameter 1 different from declaration [build] [89/235 32% :: 2.171] Building C object jerry-core\CMakeFiles\jerry-core.dir\ecma\base\ecma-helpers-conversion.c.obj [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\ecma\base\ecma-helpers-conversion.c(295): warning C4028: formal parameter 2 different from declaration [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\ecma\base\ecma-helpers-conversion.c(724): warning C4146: unary minus operator applied to unsigned type, result still unsigned [build] [187/235 74% :: 4.786] Building C object jerry-core\CMakeFiles\jerry-core.dir\lit\lit-char-helpers.c.obj [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\lit\lit-char-helpers.c(141): warning C4018: '<=': signed/unsigned mismatch [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\lit\lit-char-helpers.c(517): warning C4028: formal parameter 2 different from declaration [build] [210/235 83% :: 5.284] Building C object jerry-core\CMakeFiles\jerry-core.dir\parser\js\js-scanner-util.c.obj [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\parser\js\js-scanner-util.c(2257): warning C4090: 'function': different 'const' qualifiers [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\parser\js\js-scanner-util.c(2486): warning C4090: 'function': different 'const' qualifiers ``` The following warnings can not be fixed properly by direct cast, as byte code can resident in ready-only ROM, looking for suggestion. ``` [build] [207/235 82% :: 5.305] Building C object jerry-core\CMakeFiles\jerry-core.dir\parser\js\js-scanner-util.c.obj [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\parser\js\js-scanner-util.c(2257): warning C4090: 'function': different 'const' qualifiers [build] E:\CI-Cor\acrop\acrop-deps\acrop-jerry\jerryscript\jerry-core\parser\js\js-scanner-util.c(2486): warning C4090: 'function': different 'const' qualifiers ``` The code is ``` memcpy (&literal.char_p, data_p + 2 + 1, sizeof (uintptr_t)); ``` JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]
- Loading branch information