Summary: | x11-libs/gtk+-3.10.7 fails to build with sys-devel/clang-3.4-r100 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Julian Ospald <hasufell> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | clang+obsolete |
Priority: | Normal | Keywords: | STABLE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
gtk+-3.10.7:20140311-151707.log.xz
gtk+-3.10.7-clang.patch |
Description
Julian Ospald
2014-03-11 15:20:27 UTC
Created attachment 372388 [details]
gtk+-3.10.7:20140311-151707.log.xz
relevant error:
[1mgtkselection.c:2297:5: [0m[0;1;31merror: [0m[1mnon-void function '_gtk_selection_request' should return
a value [-Wreturn-type][0m
Created attachment 372390 [details, diff]
gtk+-3.10.7-clang.patch
fix
Seems to be a sanity check for the function parameters, so I assume FALSE is the right thing.
I would send this to upstream too (to not need to carry the patch forever) -> bugzilla.gnome.org Thanks (In reply to Pacho Ramos from comment #3) > I would send this to upstream too (to not need to carry the patch forever) > -> bugzilla.gnome.org > Yeah, would be good if the maintainer can take care of that. + 17 Mar 2014; Julian Ospald <hasufell@gentoo.org> gtk+-3.10.7.ebuild, + +files/gtk+-3.10.7-clang.patch: + fix build with clang wrt #504228 |