! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
fix build with clang
Status:
CLOSED: FIXED
Product:
Xfce4-clipman-plugin
Component:
X11 clipboard manager

Comments

Description rene 2011-11-05 01:39:10 CET
Created attachment 3937 
patch for Xfce4-clipman-plugin with clang

Xfce4-clipman-plugin 1.2.2 does not build with clang 3.0-ish (revision 142614),
it warns about cb_check_primary_clipboard not returning a value which gets promoted to an error somewhere by the configure script.

In this function, a g_return_if_fail(arg) should be a g_return_val_if_fail(arg, FALSE)

Build- and run-tested without any side effects.
Comment 1 Mike Massonnet editbugs 2011-11-05 09:44:05 CET
Fixed in git 841687e..137bc34

Bug #8106

Reported by:
rene
Reported on: 2011-11-05
Last modified on: 2012-04-09

People

Assignee:
Mike Massonnet
CC List:
1 user

Version

Version:
unspecified

Attachments

patch for Xfce4-clipman-plugin with clang (589 bytes, application/octet-stream)
2011-11-05 01:39 CET , rene
no flags

Additional information