[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753272: FTBFS with clang instead of gcc



Package: linpsk
Severity: minor
Tags: patch
User: pkg-llvm-team@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=DEFAULT_CONSTRUCTOR

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/linpsk_1.1-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)

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
--- linpsk-1.1/src/csound.cpp	2010-02-20 14:43:02.000000000 +0300
+++ linpsk-1.1-my/src/csound.cpp	2014-06-30 01:58:00.206628384 +0400
@@ -20,7 +20,7 @@
 
 using namespace std;
 extern Parameter settings;
-CSound::CSound ( int ptt = -1 ) : Input ( ptt )
+CSound::CSound ( int ptt ) : Input ( ptt )
 {
   started = false;
   output = false;
--- linpsk-1.1/src/csound.h	2010-02-20 14:43:01.000000000 +0300
+++ linpsk-1.1-my/src/csound.h	2014-06-30 01:57:52.170772109 +0400
@@ -37,7 +37,7 @@
 class CSound : public Input
 {
   public:
-    CSound ( int ptt );
+    CSound ( int ptt = -1 );
     ~CSound();
     virtual bool open_Device_write ( QString * );
     virtual bool open_Device_read ( QString * );
--- linpsk-1.1/src/textinput.cpp	2010-02-20 14:43:02.000000000 +0300
+++ linpsk-1.1-my/src/textinput.cpp	2014-06-30 01:58:31.262071119 +0400
@@ -22,7 +22,7 @@
 extern Parameter settings;
 extern int errno;
 
-TextInput::TextInput ( int ptt = -1 ) : Input ( ptt )
+TextInput::TextInput ( int ptt ) : Input ( ptt )
 {
 }
 TextInput::~TextInput()
--- linpsk-1.1/src/textinput.h	2010-02-20 14:43:02.000000000 +0300
+++ linpsk-1.1-my/src/textinput.h	2014-06-30 01:58:44.921828357 +0400
@@ -29,7 +29,7 @@
 {
     Q_OBJECT
   public:
-    TextInput ( int ptt );
+    TextInput ( int ptt = -1 );
     ~TextInput();
 
     /** Opens the Device for writting **/
--- linpsk-1.1/src/waveinput.cpp	2014-06-30 02:00:15.000000000 +0400
+++ linpsk-1.1-my/src/waveinput.cpp	2014-06-30 01:59:12.729329605 +0400
@@ -19,7 +19,7 @@
 
 extern Parameter settings;
 
-WaveInput::WaveInput(int ptt = -1): Input(ptt)
+WaveInput::WaveInput(int ptt): Input(ptt)
 {
  EightBits=false;
 }
--- linpsk-1.1/src/waveinput.h	2010-02-20 14:43:02.000000000 +0300
+++ linpsk-1.1-my/src/waveinput.h	2014-06-30 01:59:29.409030482 +0400
@@ -31,7 +31,7 @@
 {
 Q_OBJECT
   public:
-    WaveInput ( int ptt );
+    WaveInput ( int ptt = -1 );
     ~WaveInput();
     /** Opens the Device for writting **/
     bool open_Device_write ( QString * );

Reply to: