simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [bug #34270] current master does no build


From: Yann Dirson
Subject: [Simulavr-devel] [bug #34270] current master does no build
Date: Sun, 11 Sep 2011 20:42:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110816 Iceweasel/3.6.20 (like Firefox/3.6.20)

URL:
  <http://savannah.nongnu.org/bugs/?34270>

                 Summary: current master does no build
                 Project: Simulavr: an AVR simulator
            Submitted by: ydirson
            Submitted on: dim. 11 sept. 2011 22:42:09 CEST
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavrxx

    _______________________________________________________

Details:

Tries with g++-4.3 through g++-4.6.  Had to make this change, but still not
sufficient, the build subsequently fails at link time (on debian testing),
with:

libtool: compile:  g++-4.3 -DHAVE_CONFIG_H -I. -I/usr/include/python2.6
-Ipython -I/usr/include -g -O2 -Icmd -Iui -Ihwtimer -MT
lib_pysimulavr_la-pysimulavr_wrap.lo -MD -MP -MF
.deps/lib_pysimulavr_la-pysimulavr_wrap.Tpo -c pysimulavr_wrap.cpp  -fPIC
-DPIC -o .libs/lib_pysimulavr_la-pysimulavr_wrap.o
hwstack.h: In member function 'ThreadList& ThreadList::operator=(const
ThreadList&)':
hwstack.h:57: error: non-static reference member 'AvrDevice&
ThreadList::m_core', can't use default assignment operator
pysimulavr_wrap.cpp: In function 'PyObject*
_wrap_HWStack_m_ThreadList_set(PyObject*, PyObject*)':
pysimulavr_wrap.cpp:32586: note: synthesized method 'ThreadList&
ThreadList::operator=(const ThreadList&)' first required here 
make[3]: *** [lib_pysimulavr_la-pysimulavr_wrap.lo] Error 1
make[3]: Leaving directory `/work/yann/elec/avr/simulavr/src'
make[2]: *** [all-recursive] Error 1


diff --git a/src/hwstack.cpp b/src/hwstack.cpp
index eddd686..975d01b 100644
--- a/src/hwstack.cpp
+++ b/src/hwstack.cpp
@@ -28,6 +28,7 @@
 #include "avrmalloc.h"
 #include "flash.h"
 #include <assert.h>
+#include <cstdio>
 
 using namespace std;
 





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34270>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]