2020-03-29 19:53 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002743Buildsystem[All Projects] Generalpublic2020-03-26 10:40
Reporterbiopsin 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
Platformx86_64 - GTK2OSVoid Linux glibc-2.30OS VersionLinux 5.4.27_1
Summary0002743: Build fails on TARGET=gtk2 in content/handlers/html/html.c
DescriptionBuild fails from current master if TARGET changed from gtk3 to gtk2.
Regarding commit 7e6723e27a5bc61d6be9401cd41b644c97bae1e6
Attached full do_build.log.

Hope gtk2 still will be supported, if not sorry for the fuzz.
Steps To Reproduce# GCC 9.3.0
export TARGET=gtk2 -> make
Additional Information..snip from do_build.log

 COMPILE: content/handlers/html/html.c
content/handlers/html/html.c: In function 'fire_dom_keyboard_event':
content/handlers/html/html.c:180:8: warning: implicit declaration of function 'dom_keyboard_event_create'; did you mean 'dom_keyboard_event_init'? [-Wimplicit-function-declaration]
  180 | exc = dom_keyboard_event_create(&evt);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
      | dom_keyboard_event_init
content/handlers/html/html.c:180:8: warning: nested extern declaration of 'dom_keyboard_event_create' [-Wnested-externs]
content/handlers/html/html.c:188:37: error: macro "dom_keyboard_event_init" passed 14 arguments, but takes just 8
  188 | false, false, false, false, false);
      | ^
In file included from /usr/include/dom/events/events.h:15,
                 from /usr/include/dom/dom.h:100,
                 from ./utils/libdom.h:30,
                 from content/handlers/html/html.c:36:
/usr/include/dom/events/keyboard_event.h:70: note: macro "dom_keyboard_event_init" defined here
   70 | #define dom_keyboard_event_init(e, t, b, c, v, ki, kl, m) \
      |
content/handlers/html/html.c:186:8: error: 'dom_keyboard_event_init' undeclared (first use in this function); did you mean '_dom_keyboard_event_init'?
  186 | exc = dom_keyboard_event_init(evt, type, bubbles, cancelable, NULL,
      | ^~~~~~~~~~~~~~~~~~~~~~~
      | _dom_keyboard_event_init
content/handlers/html/html.c:186:8: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:857: build/Linux-gtk2/content_handlers_html_html.o] Error 1
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2020-03-26 10:40 biopsin New Issue
2020-03-26 10:40 biopsin File Added: netsurf__do_build.log
+Issue History