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

Build failure with mujs support (document/html/parser/general.c:313:17: error: implicit declaration of function ‘add_to_ecmascript_string_list’ [-Werror=implicit-function-declaration]) #204

Closed
thesamesam opened this issue Dec 31, 2022 · 0 comments · Fixed by #205

Comments

@thesamesam
Copy link
Contributor

FAILED: src/elinks.p/document_html_parser_general.c.o
x86_64-pc-linux-gnu-gcc -Isrc/elinks.p -Isrc -I../elinks-0.16.0/src -I. -I../elinks-0.16.0 -I/usr/include/libxml++-5.0 -I/usr/lib64/libxml++-5.0/include -I/usr/include/libxml2 -I/usr/include/ncursesw -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="elinks"' '-DBUILD_ID="35d55d346a4d67437d842fa7325340368d9185c8"' -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type -ggdb3 -Werror=implicit-function-declaration -Werror=implicit-int -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H -fno-strict-aliasing -Wno-address -Wno-builtin-declaration-mismatch -MD -MQ src/elinks.p/document_html_parser_general.c.o -MF src/elinks.p/document_html_parser_general.c.o.d -o src/elinks.p/document_html_parser_general.c.o -c ../elinks-0.16.0/src/document/html/parser/general.c
../elinks-0.16.0/src/document/html/parser/general.c: In function ‘html_script’:
../elinks-0.16.0/src/document/html/parser/general.c:313:17: error: implicit declaration of function ‘add_to_ecmascript_string_list’ [-Werror=implicit-function-declaration]
  313 |                 add_to_ecmascript_string_list(&html_context->part->document->onload_snippets,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Full log: build.log

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

Successfully merging a pull request may close this issue.

1 participant