UTBotCpp
UTBotCpp copied to clipboard
Incorrect pointer to function parameter in wrappers
To Reproduce Steps to reproduce the behavior:
- Open the JQ project in IDE
- Use plugin to generate tests
- Run the generated test
Expected behavior Tests are supposed to be runnable.
Actual behavior Compile error.
Additional context
/home/utbot/jq/tests/makefiles/src/../../../tests/wrapper/modules/oniguruma/src/st_wrapper.c:61:76: error: expected ')'
int onig_st_foreach_modules_oniguruma_src_st_c(st_table * table, int (*)() func, st_data_t arg) {
^
/home/utbot/jq/tests/makefiles/src/../../../tests/wrapper/modules/oniguruma/src/st_wrapper.c:61:47: note: to match this '('
int onig_st_foreach_modules_oniguruma_src_st_c(st_table * table, int (*)() func, st_data_t arg) {
^
/home/utbot/jq/tests/makefiles/src/../../../tests/wrapper/modules/oniguruma/src/st_wrapper.c:61:72: error: parameter name omitted
int onig_st_foreach_modules_oniguruma_src_st_c(st_table * table, int (*)() func, st_data_t arg) {
^
/home/utbot/jq/tests/makefiles/src/../../../tests/wrapper/modules/oniguruma/src/st_wrapper.c:62:31: error: use of undeclared identifier 'func'
return onig_st_foreach(table, func, arg);
^
/home/utbot/jq/tests/makefiles/src/../../../tests/wrapper/modules/oniguruma/src/st_wrapper.c:62:37: error: use of undeclared identifier 'arg'
return onig_st_foreach(table, func, arg);
^
4 errors generated.