Follow-up Comment #7, bug #34270 (project simulavr):
SWIG does generate code from python/pysimulavr.i. There hwstack.h is included.
I do not know if that should happen or not.
But you can make SWIG not to generate a setter function by adding %immutable
HWStack::m_ThreadList before the %include.
Follow-up Comment #5, bug #34270 (project simulavr):
Yann Dirson:
It seems that SWIG is generating code (pysimulavr_wrap.cpp,
_wrap_HWStack_m_ThreadList_set()) which invokes assignment operator of
ThreadList.
It should not try to do the assignment.
In fact hwstack.h is not even in simulavr.i
Follow-up Comment #2, bug #34270 (project simulavr):
Hi Marek, what about pasting a simple git diff with your fixes ?
___
Reply to this item at:
http://savannah.nongnu.org/bugs/?34270
___
Follow-up Comment #4, bug #34270 (project simulavr):
Great, I can confirm this patch allows the simulator to build with g++-4.4 and
4.5 (and runs, to the minimal extent I have tested), thanks Marek!
Some examples, however, will require some patching as well for use with
avr-gcc 4.5, but it's
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