2025-01-30 06:56 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002886LibCSSLibCSSpublic2025-01-09 06:38
Reporterأحمد المحمودي 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
Platformi386OSLinuxOS Version
Summary0002886: Fails to build on i386 arch
DescriptionWhen building libcss for i386 architecture, I get the following error:

 COMPILE: test/parse2-auto.c
In file included from test/css21.c:11:
test/dump.h: In function 'dump_rule_media':
test/dump.h:134:45: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Werror=format=]
  134 | ptr += sprintf(ptr, "| @media %s%03lx",
      | ~~~~^
      | |
      | long unsigned int
      | %03llx
  135 | s->media->negate_type ? "not " : "",
  136 | s->media->type);
      | ~~~~~~~~~~~~~~
      | |
      | uint64_t {aka long long unsigned int}
cc1: all warnings being treated as errors
make[2]: *** [/usr/share/netsurf-buildsystem/makefiles/Makefile.top:649: build-i686-linux-gnu-i686-linux-gnu-release-lib-shared/test_css21.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from test/parse2-auto.c:12:
test/dump.h: In function 'dump_rule_media':
test/dump.h:134:45: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Werror=format=]
  134 | ptr += sprintf(ptr, "| @media %s%03lx",
      | ~~~~^
      | |
      | long unsigned int
      | %03llx
  135 | s->media->negate_type ? "not " : "",
  136 | s->media->type);
      | ~~~~~~~~~~~~~~
      | |
      | uint64_t {aka long long unsigned int}
cc1: all warnings being treated as errors
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
2025-01-09 06:38 أحمد المحمودي New Issue
+Issue History