Bug 65712 - [PATCH] Fix Werror=unused-function if build without X11
Summary: [PATCH] Fix Werror=unused-function if build without X11
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: 1.5
Hardware: Other All
: medium normal
Assignee: Havoc Pennington
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 13:45 UTC by Chengwei Yang
Modified: 2013-06-13 15:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
[PATCH] Fix Werror=unused-function if build without X11 (955 bytes, patch)
2013-06-13 13:50 UTC, Chengwei Yang
Details | Splinter Review

Description Chengwei Yang 2013-06-13 13:45:41 UTC
If build DBus without X11, it will fail like below.

dbus-launch.c:112:1: error: ‘read_machine_uuid_if_needed’ defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors
make[2]: *** [dbus-launch.o] Error 1
make[2]: Leaving directory `/home/chengwei/Upstream/dbus.git/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chengwei/Upstream/dbus.git'
make: *** [all] Error 2
Comment 1 Chengwei Yang 2013-06-13 13:50:15 UTC
Created attachment 80772 [details] [review]
[PATCH] Fix Werror=unused-function if build without X11
Comment 2 Simon McVittie 2013-06-13 15:22:26 UTC
Applied for 1.7.6, thanks


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.