Package: vfu
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=WRONG_DEFAULT_DECLARATION

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/vfu_4.10-1.1_unstable_clang.log

Thanks,
Alexander


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

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./vslib/vstring.h	2009-12-16 23:58:30.000000000 +0300
+++ ../vfu-4.10-my/./vslib/vstring.h	2014-07-29 00:47:22.578896175 +0400
@@ -114,6 +114,10 @@
 ****************************************************************************/
 
 #define STR_BLOCK_SIZE    256
+class VString;
+VString& str_copy  ( VString& target, const char* source, int pos, int len = -1 ); // returns `len' chars from `pos'
+VString& str_pad  ( VString& target, int len, char ch = ' ' );
+VString& str_comma( VString& target, char delim = ',' );
 
 class VString
 {
@@ -271,7 +275,7 @@
   friend VString& str_ins_ch ( VString& target, int pos, char ch ); // inserts `ch' in position `pos'
   friend VString& str_replace( VString& target, const char* out, const char* in ); // replace `out' w. `in'
 
-  friend VString& str_copy  ( VString& target, const char* source, int pos, int len = -1 ); // returns `len' chars from `pos'
+  friend VString& str_copy  ( VString& target, const char* source, int pos, int len); // returns `len' chars from `pos'
   friend VString& str_left  ( VString& target, const char* source, int len ); // returns `len' chars from the left
   friend VString& str_right ( VString& target, const char* source, int len ); // returns `len' chars from the right
   friend VString& str_sleft ( VString& target, int len ); // SelfLeft -- just as 'Left' but works on `this'
@@ -285,8 +289,8 @@
   friend VString& str_cut      ( VString& target, const char* charlist ); // does `CutR(charlist);CutL(charlist);'
   friend VString& str_cut_spc  ( VString& target ); // does `Cut(" ");'
 
-  friend VString& str_pad  ( VString& target, int len, char ch = ' ' );
-  friend VString& str_comma( VString& target, char delim = ',' );
+  friend VString& str_pad  ( VString& target, int len, char ch);
+  friend VString& str_comma( VString& target, char delim);
 
   // next 3 functions are safe! so if you get/set out f the VString range!
   friend void str_set_ch( VString& target, int pos, const char ch ); // sets `ch' char at position `pos'

Reply via email to