Comment 30 for bug 1835296

Revision history for this message
Holger Vogt (h+vogt) wrote :

@Wyne,

yes, that's the source of the version info (if you are not compiling with MSVC). You may read it at compile time.

But what about users who upgrade their ngspice by just changing the dll?

If you send the command 'version' to ngspice, you will get back

******
** ngspice-30 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Please get your ngspice manual from http://ngspice.sourceforge.net/docs.html
** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html
** Creation Date: Thu Feb 21 08:59:50 UTC 2019
******

Well, you have to figure out the ngspice-XX string, but this may be a better way.