Package: ygraph
Version: 0.16~cvs20090218
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Hello,

Your package fails to build with clang instead of gcc with a -Wreturn-type 
error.
The attached patch fixes it but I'm not sure about the chosen return value.

Buildlogs and patch:
https://github.com/nonas/debian-clang/tree/master/buildlogs/ygraph

Regards,
Nicolas

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: fix FTBFS with clang [-Wreturn-type]
Author: Nicolas Sévelin-Radiguet <nic...@free.fr>
Last-Update: 2014-03-03
--- a/src/axis.c
+++ b/src/axis.c
@@ -973,7 +973,7 @@
 
   if ((entry_xmin == NULL) || (entry_xmax == NULL) || (entry_ymin == NULL)
       || (entry_ymax == NULL))
-    return;
+    return FALSE;
     
   new_xmin_str = gtk_entry_get_text(GTK_ENTRY(entry_xmin));
   new_xmax_str = gtk_entry_get_text(GTK_ENTRY(entry_xmax));

Reply via email to