Holger Vogt
c522360a26
re-enable compiling with --enable-nobypass
6 years ago
Holger Vogt
8051a3c351
remove calling MIFdestroy() that is empty
6 years ago
Holger Vogt
75d14b73f4
add the icon also for the console build
6 years ago
Holger Vogt
db28c65455
adding the ngspice icon to the MINGW executable
6 years ago
Holger Vogt
ba7be26b95
If a g table source contains %, [, nor ] in its name,
replace it by _ in the a instance generated during parsing.
6 years ago
Holger Vogt
02fdcaff2d
try first storing the temporary file in user directory,
only then in current directory
6 years ago
Holger Vogt
80ad645b49
prevent crash if Col==-1
6 years ago
Holger Vogt
8143fb67c2
comment, missing \n
6 years ago
Holger Vogt
6f03ac77af
add missing library info
6 years ago
Holger Vogt
8d64983659
const parameter added
6 years ago
Holger Vogt
05bf86caaa
safeguard against empty lines which may be sent to shared ngspice
6 years ago
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.
6 years ago
Holger Vogt
bbe81ca8f8
shared ngspice may transmit netlists with empty lines,
guard against crashing
6 years ago
Holger Vogt
db91e19e36
enable making ngnutmeg, when --enable-oldapps is set
6 years ago
Holger Vogt
2b4394e34b
add wincolornames.h
6 years ago
Holger Vogt
dd5d1f1868
new copyright notice added
6 years ago
Holger Vogt
70be7508ce
Prevent 'unused variable' compiler message
6 years ago
Holger Vogt
913635d252
remove unused function
6 years ago
Holger Vogt
13c23fd71b
Prevent buf2 buffer overflow by limiting the the amount of bytes printed
6 years ago
Holger Vogt
e0f5181bee
Correct comment
6 years ago
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
6 years ago
Holger Vogt
3a00520071
Improve error message
6 years ago
Holger Vogt
cbab726d69
use memcpy instead of strncpy to copy an exact amount of characters
remove unused function header
6 years ago
Holger Vogt
5e37955dc5
prevent buffer overrun by using snprintf
6 years ago
Holger Vogt
3c8a2d914d
enable MINGW compilation by adding path information for config.h
6 years ago
Holger Vogt
a32da32885
set parentheses for initializing struct
6 years ago
Holger Vogt
4bcc118406
exclude unused variable
6 years ago
Holger Vogt
e2ddc5c06b
exclude unused function
6 years ago
Holger Vogt
3c2bece87f
prevent MINGW compiler warnings
6 years ago
Holger Vogt
b0f99b900e
Prevent crash if not enough nodes for standard MOS device
6 years ago
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.
6 years ago
Holger Vogt
2d4549ad96
There will be no default model paramaters without
the minimum model line:
J1 a b c JM1
.model JM1 njf
6 years ago
Holger Vogt
1a3738ccef
Prevent warning by the macOS compiler
6 years ago
Holger Vogt
a40f06de52
add #include <stdint.h> for SIZE_MAX
6 years ago
Holger Vogt
e1a69e3fc5
controlled_exit only for WinGUI and shared ngspice
6 years ago
Jim Monte
0a8f700311
typo
6 years ago
Jim Monte
01574b91b5
remove unused
6 years ago
Jim Monte
7ead3fe552
rewrite load_opus(), add code model access to ngspice facilities,
add error message
6 years ago
Jim Monte
004b27bd92
remove path error, fix file extension
6 years ago
Jim Monte
654c9767d6
add fcn product_overflow()
6 years ago
Jim Monte
a2b5d009db
type cast
6 years ago
Jim Monte
9d714fe1bf
#includes modified
6 years ago
Jim Monte
18d825e9c1
#includes modified
6 years ago
Jim Monte
381d4ec43d
#includes modified
6 years ago
Jim Monte
bd84e4be6c
error messages
6 years ago
Jim Monte
7f82a4e036
FALLTHROUGH
6 years ago
Jim Monte
1d62ae2d97
type casts
6 years ago
Jim Monte
ed8221afde
Initialize pointer
6 years ago
Jim Monte
8d16e3e034
FALLTHROUGH
6 years ago
Jim Monte
41819a7226
FALLTHROUGH
6 years ago