We can adjust our interface to cope with the change to int as an underlying
type.
However, one concern is that the typedef exists unscoped inside a header
file. The term "BOOL" is relatively generic and so there are likely to be
some conflicts with other libraries that use this term differently.
The last commit to ngspice master branch is
https://sourceforge.net/p/ngspice/ngspice/ci/ded0f79c01079eaa6f4cdbd49292897c73273e23/
ded0f79c0 ("Avoid type 'bool', as ist is a built-in type in C++, not
equaling 'int' which ngspice is using.", 2021-03-28)
This patch is a reaction to bug report
Looks like Holger just added this:
https://github.com/imr/ngspice/commit/ded0f79c01079eaa6f4cdbd49292897c73273e23
I'm not sure why. I think Holger is on this list, so hopefully he can help
explain the reasoning.
-Seth
On Tue, May 4, 2021 at 2:04 PM Jon Evans wrote:
> What version of ngspice
What version of ngspice are you using?
Sourceforge is down right now so I can't check the latest tree easily, but
in my cached version, the ControlledExit function signature in
sharedspice.h is using bool (not BOOL), and so is KiCad.
Is there some version of ngspice where those function
Hello,
I use KiCAD 5.99 as rolling release. For a few days, compilation aborts
with :
[ 32%] Building CXX object
eeschema/CMakeFiles/eeschema_kiface_objects.dir/sim/ngspice.cpp.o
/home/bertrand/git/kicad/eeschema/sim/ngspice.cpp: In member function
‘void NGSPICE::init_dll()’:
5 matches
Mail list logo