Bug 276778
Summary: | ThirdParty/xdgmime: LITTLE_ENDIAN is not defined | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dennis Camera <dennis.camera+webkit> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Minor | CC: | bugs-noreply |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | PC | ||
OS: | Linux | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=252263 |
Dennis Camera
There are to build warnings when compiling the vendored xdgmime:
[667/12333] Building C object Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimemagic.c.o
/tmp/WebKit/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: In function '_xdg_mime_magic_parse_magic_line':
/tmp/WebKit/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:489:5: warning: "LITTLE_ENDIAN" is not defined, evaluates to 0 [-Wundef]
489 | #if LITTLE_ENDIAN
| ^~~~~~~~~~~~~
/tmp/WebKit/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:482:15: warning: unused variable 'i' [-Wunused-variable]
482 | int i;
| ^
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
EWS
Committed 281138@main (41089e03042e): <https://commits.webkit.org/281138@main>
Reviewed commits have been landed. Closing PR #30960 and removing active labels.