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: ydir...@altern.org 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/ _______________________________________________ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel