Holger Vogt
d4fcef9bf6
Repair the broken --enable-oldapps option
3 years ago
Holger Vogt
8abd8069a8
Re-enable compiling ngsconvert again
Capability to compile ngsconvert is extremely sensitive to changes in
associated files as found in makefile.am and may esily be
broken again next time. Requires manual tweaking.
5 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
cab9cbdddf
re-enable making old apps with --enable-oldapps
6 years ago
Holger Vogt
2ff0e3b1b7
ngsconvert.c: add const to cp_enqvar
6 years ago
Holger Vogt
d504991177
new definition of cp_enqvar also in seldom used ngsconvert.c
8 years ago
rlar
bc325b17c5
variables, lift plot_cur->pl_env up to the invoker of cp_usrvars()
10 years ago
rlar
97cdaae19f
variables, cp_usrvars(), be more explicit
lift uv2 return value up to the invoker of cp_usrvars()
10 years ago
rlar
5611ca4f10
harmonise all incarnations of `if_errstring()' to return malloced memory
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
df70661c3a
dvec abstraction, #11/11, introduce `dvec_realloc()'
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
Francesco Lannutti
99296c9530
Solved linking error for ngsconvert after ft_stricterror patch in src/frontend/variable.c
14 years ago
rlar
67132108ad
out_printf() is not supposed to be a preprocessor macro
14 years ago
rlar
d4ced47e8e
drop out_pbuf, which was an ancient workaround
obviously an old implementation of out_printf()
has been unreliable.
14 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
3227d3c170
some explicit `int' casts
15 years ago
rlar
e7849c20d7
cleanup fseek() usage
15 years ago
rlar
aac6d0802f
ngsconvert.c, swallow type conversion warnings
15 years ago
rlar
b93fcb3779
remove some useless casts
15 years ago
rlar
049d800b9b
bug fix, ( #3188327 ), segfault in ngsconvert
15 years ago
rlar
ad8ad56955
Nr 3/5 (x = ...) != 0 , swallow warnings
16 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
f30f96a4c7
use `size_t' variables for fread/fwrite operations
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
4622d0876e
ngcomplex_t instead of complex, #1/2
16 years ago
rlar
1a3be07881
remove obsolete artifact XtDispatchEvent() (dummy implementation)
16 years ago
rlar
8209c0aef3
collect smktemp() in "mktemp.h"
16 years ago
rlar
8ff62fd262
add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
16 years ago
rlar
ff459393d0
`const' qualifier for char* arguments of vec_get() and ft_substdef()
16 years ago
h_vogt
d7d5a38583
patches by R. Larice
16 years ago
pnenzi
d1d4832b65
odification to parsing function for new device model (BSIM3SOIDD). Prepended
26 years ago
arno
decb1e68b6
* sconvert.c: Input routine moved here from parser/input.c.
26 years ago
arno
8696a52e89
* src/Makefile.am src/main.c src/sconvert.c
26 years ago
arno
4e605553de
* src/sconvert.c src/frontend/circuits.c src/frontend/circuits.h
26 years ago
pnenzi
978f1c32a2
Initial revision
26 years ago