Source: gpsim
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=DEFAULT_CONSTRUCTOR

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/gpsim_0.27.0-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
--- gpsim-0.27.0/modules/switch.cc	2010-05-30 16:13:36.000000000 +0400
+++ gpsim-0.27.0-my/modules/switch.cc	2014-06-30 01:41:44.151696182 +0400
@@ -582,7 +582,7 @@
 
   //========================================================================
 
-  Switch::Switch(const char *_new_name=0)
+  Switch::Switch(const char *_new_name)
     : SwitchBase(_new_name, "\
 Two port switch\n\
  Attributes:\n\
--- gpsim-0.27.0/modules/switch.h	2010-05-30 16:17:51.000000000 +0400
+++ gpsim-0.27.0-my/modules/switch.h	2014-06-30 01:42:16.791142615 +0400
@@ -88,7 +88,7 @@
   class Switch : public SwitchBase
   {
   public:
-    Switch(const char *_name);
+    Switch(const char *_name=0);
     ~Switch();
 
     virtual void setState(bool);
--- gpsim-0.27.0/modules/stimuli.h	2010-05-30 16:13:36.000000000 +0400
+++ gpsim-0.27.0-my/modules/stimuli.h	2014-06-30 01:43:57.757420456 +0400
@@ -72,7 +72,7 @@
   {
   public:
     static Module *construct(const char *new_name);
-    PulseGen(const char *_name);
+    PulseGen(const char *_name=0);
     ~PulseGen();
 
     virtual void callback();
--- gpsim-0.27.0/modules/stimuli.cc	2010-05-30 16:13:36.000000000 +0400
+++ gpsim-0.27.0-my/modules/stimuli.cc	2014-06-30 01:43:30.681883643 +0400
@@ -216,7 +216,7 @@
   //----------------------------------------------------------------------
   //----------------------------------------------------------------------
 
-  PulseGen::PulseGen(const char *_name=0)
+  PulseGen::PulseGen(const char *_name)
     : StimulusBase(_name, "\
 Pulse Generator\n\
  Attributes:\n\

Reply via email to