Source: ball
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/ball_1.4.2+20140406-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)

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
--- ./source/DATATYPE/string.C	2013-03-07 21:15:10.000000000 +0400
+++ ../ball-1.4.2+20140406-my/./source/DATATYPE/string.C	2014-07-18 21:39:55.398459849 +0400
@@ -1289,7 +1289,7 @@
 		return result;
 	}
 
-	istream& getline(istream& s, String& str, char delimiter)
+	istream& getline(istream& s, String& str, char delimiter = '\n')
 	{
 		char c;
 		
--- ./include/BALL/DATATYPE/string.h	2013-03-07 21:15:10.000000000 +0400
+++ ../ball-1.4.2+20140406-my/./include/BALL/DATATYPE/string.h	2014-07-18 21:40:04.242303406 +0400
@@ -998,7 +998,7 @@
 
 		///
 		BALL_EXPORT
-		friend std::istream& getline(std::istream& s,  String& string,  char delimiter = '\n');
+		friend std::istream& getline(std::istream& s,  String& string,  char delimiter);
 
 		//@}
 

Reply via email to