Holger Vogt
05bf86caaa
safeguard against empty lines which may be sent to shared ngspice
2020-05-06 11:12:21 +02:00
Holger Vogt
5c3e2b6526
'make clean' added
2020-05-05 20:55:22 +02:00
Mamoru TASAKA
fe207966d7
Fix compilation with gcc10 wrt multiple definitions issue
...
gcc10 now defaults to -fno-common (ref: https://gcc.gnu.org/gcc-10/changes.html ). Now with compiled with gcc10, multiple definitions are found which causes linker error as:
* --with-tcl:
```
/usr/bin/ld: table/table3D/cfunc.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/../../../src/include/../xspice/icm/dlmain.h:8: multiple definition of `coreitf'; table/dlmain.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/dlmain.c:45: first defined here
```
* --enable-oldapps
```
/bin/ld: frontend/com_history.o:(.data+0x4): multiple definition of `cp_maxhistlength'; ngsconvert.o:(.bss+0xa4): first defined here
collect2: error: ld returned 1 exit status
```
This commit fixes these issues.
2020-05-06 01:15:53 +09:00
Holger Vogt
bbe81ca8f8
shared ngspice may transmit netlists with empty lines,
...
guard against crashing
2020-05-05 12:00:19 +02:00
Holger Vogt
db91e19e36
enable making ngnutmeg, when --enable-oldapps is set
2020-05-05 11:59:23 +02:00
Holger Vogt
ffe49a11d4
only 64 bit release and debug
2020-05-04 17:18:32 +02:00
Holger Vogt
2b4394e34b
add wincolornames.h
2020-05-03 23:06:17 +02:00
Holger Vogt
0f2470cad3
remove com_xgraph
2020-05-03 22:38:12 +02:00
Holger Vogt
c36104390e
removed unused call to com_xgraph
2020-05-03 22:27:34 +02:00
Holger Vogt
228d6e19ef
Add path to freetype2 and link library omp
2020-05-03 18:06:05 +02:00
Holger Vogt
bce2d9ac2c
add compile_macos.sh to dist
2020-05-03 18:03:44 +02:00
Holger Vogt
dd5d1f1868
new copyright notice added
2020-05-03 11:47:22 +02:00
Holger Vogt
4629fb797a
Update to recent install procedures
2020-05-03 11:47:03 +02:00
Holger Vogt
5011f760f3
some enhancements to macOS compile script
2020-05-03 11:46:03 +02:00
Holger Vogt
194d514fdd
new copyright notice
2020-05-03 11:45:10 +02:00
Holger Vogt
8555ad6c00
author added
2020-05-03 11:44:48 +02:00
Holger Vogt
70be7508ce
Prevent 'unused variable' compiler message
2020-05-03 00:49:53 +02:00
Holger Vogt
913635d252
remove unused function
2020-05-03 00:47:45 +02:00
Holger Vogt
13c23fd71b
Prevent buf2 buffer overflow by limiting the the amount of bytes printed
2020-05-03 00:19:48 +02:00
Holger Vogt
58a61c4c3b
update compile scripts for Linux and macOS
2020-05-03 00:18:23 +02:00
Holger Vogt
e0f5181bee
Correct comment
2020-05-02 20:16:48 +02:00
Holger Vogt
8a1eff8e88
Add function 'remzerovec' to remove vectors of length 0
...
from current plot. Maybe of interest if you have option
savecurrents, write xx all, and ac generates length 0 vectors
2020-05-02 20:06:58 +02:00
Holger Vogt
3a00520071
Improve error message
2020-05-02 14:59:31 +02:00
Holger Vogt
9b67992fe8
comment corrected
2020-05-02 12:00:16 +02:00
Holger Vogt
676ba04425
typo
2020-05-02 11:59:02 +02:00
Holger Vogt
cbab726d69
use memcpy instead of strncpy to copy an exact amount of characters
...
remove unused function header
2020-05-01 18:49:45 +02:00
Holger Vogt
5e37955dc5
prevent buffer overrun by using snprintf
2020-05-01 18:48:18 +02:00
Holger Vogt
3c8a2d914d
enable MINGW compilation by adding path information for config.h
2020-05-01 18:47:32 +02:00
Holger Vogt
a32da32885
set parentheses for initializing struct
2020-05-01 18:46:44 +02:00
Holger Vogt
4bcc118406
exclude unused variable
2020-05-01 18:41:22 +02:00
Holger Vogt
e2ddc5c06b
exclude unused function
2020-05-01 18:40:56 +02:00
Holger Vogt
3c2bece87f
prevent MINGW compiler warnings
2020-05-01 18:38:45 +02:00
Holger Vogt
beb27f27a6
Enable 64 bit release and debug compilation
...
32 bit compilation has to be enabled manually.
2020-05-01 18:36:33 +02:00
Holger Vogt
38f7bf31ef
Replace $ by ; as end-of-line comment delimiter
...
$ is a standard character in PSPICE
2020-05-01 18:35:40 +02:00
Holger Vogt
b0f99b900e
Prevent crash if not enough nodes for standard MOS device
2020-04-28 18:59:18 +02:00
Holger Vogt
8ea51cc2f3
If command 'source' fails, don't move on with the script
...
(and od nonsens simulations), but stop ngspice and await
detaching (shared ngspice), or wait for user input.
2020-04-28 17:23:07 +02:00
Holger Vogt
2d4549ad96
There will be no default model paramaters without
...
the minimum model line:
J1 a b c JM1
.model JM1 njf
2020-04-28 17:18:57 +02:00
Holger Vogt
064640da57
Prepare ngspice-32, updating FAQ
2020-04-27 11:26:33 +02:00
Holger Vogt
1a3738ccef
Prevent warning by the macOS compiler
2020-04-27 10:58:06 +02:00
Holger Vogt
9a1798f395
Some tiny updates on CIDER input files
2020-04-27 10:57:14 +02:00
Holger Vogt
a40f06de52
add #include <stdint.h> for SIZE_MAX
2020-04-27 10:27:20 +02:00
Holger Vogt
e1a69e3fc5
controlled_exit only for WinGUI and shared ngspice
2020-04-27 10:27:00 +02:00
Jim Monte
0a8f700311
typo
2020-04-27 10:26:36 +02:00
Jim Monte
01574b91b5
remove unused
2020-04-27 10:26:22 +02:00
Jim Monte
7ead3fe552
rewrite load_opus(), add code model access to ngspice facilities,
...
add error message
2020-04-27 10:25:53 +02:00
Jim Monte
004b27bd92
remove path error, fix file extension
2020-04-27 10:25:35 +02:00
Jim Monte
654c9767d6
add fcn product_overflow()
2020-04-27 10:25:19 +02:00
Jim Monte
a2b5d009db
type cast
2020-04-27 10:25:00 +02:00
Jim Monte
9d714fe1bf
#includes modified
2020-04-27 10:24:45 +02:00
Jim Monte
18d825e9c1
#includes modified
2020-04-27 10:24:22 +02:00