We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Starting with GCC 15, function declarations must exactly match the definitions now.
As a result, tokenizers fails to build with GCC 15 since the parameter list for some function declarations do not match the definitions:
tokenizers
[ 37s] The following warnings were emitted during compilation: [ 37s] [ 37s] warning: [email protected]: oniguruma/src/regparse.c: In function 'onig_st_init_strend_table_with_size': [ 37s] warning: [email protected]: oniguruma/src/regparse.c:588:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(st_str_end_key *, st_str_end_key *)' [-Wincompatible-pointer-types] [ 37s] warning: [email protected]: 588 | str_end_cmp, [ 37s] warning: [email protected]: | ^~~~~~~~~~~ [ 37s] warning: [email protected]: oniguruma/src/regparse.c:588:5: note: (near initialization for 'hashType.compare') [ 37s] warning: [email protected]: oniguruma/src/regparse.c:550:1: note: 'str_end_cmp' declared here [ 37s] warning: [email protected]: 550 | str_end_cmp(st_str_end_key* x, st_str_end_key* y) [ 37s] warning: [email protected]: | ^~~~~~~~~~~ [ 37s] warning: [email protected]: oniguruma/src/regparse.c:589:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(st_str_end_key *)' [-Wincompatible-pointer-types] [ 37s] warning: [email protected]: 589 | str_end_hash, [ 37s] warning: [email protected]: | ^~~~~~~~~~~~ [ 37s] warning: [email protected]: oniguruma/src/regparse.c:589:5: note: (near initialization for 'hashType.hash') [ 37s] warning: [email protected]: oniguruma/src/regparse.c:571:1: note: 'str_end_hash' declared here [ 37s] warning: [email protected]: 571 | str_end_hash(st_str_end_key* x) [ 37s] warning: [email protected]: | ^~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Starting with GCC 15, function declarations must exactly match the definitions now.
As a result,
tokenizers
fails to build with GCC 15 since the parameter list for some function declarations do not match the definitions:The text was updated successfully, but these errors were encountered: