Re: [Kicad-developers] Build issue

2021-05-04 Thread Seth Hillbrand
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.

Re: [Kicad-developers] Build issue

2021-05-04 Thread Holger Vogt
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

Re: [Kicad-developers] Build issue

2021-05-04 Thread Seth Hillbrand
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

Re: [Kicad-developers] Build issue

2021-05-04 Thread Jon Evans
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

[Kicad-developers] Build issue

2021-05-04 Thread BERTRAND Joël
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()’: