Commit Graph

36 Commits

Author SHA1 Message Date
Holger Vogt d4fcef9bf6 Repair the broken --enable-oldapps option 2022-12-11 15:47:05 +01:00
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.
2021-02-21 16:48:21 +01: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 cab9cbdddf re-enable making old apps with --enable-oldapps 2020-03-15 08:51:16 +01:00
Holger Vogt 2ff0e3b1b7 ngsconvert.c: add const to cp_enqvar 2020-03-15 08:51:16 +01:00
Holger Vogt d504991177 new definition of cp_enqvar also in seldom used ngsconvert.c 2018-10-27 18:07:44 +02:00
rlar bc325b17c5 variables, lift plot_cur->pl_env up to the invoker of cp_usrvars() 2016-10-15 15:57:54 +02:00
rlar 97cdaae19f variables, cp_usrvars(), be more explicit
lift uv2 return value up to the invoker of cp_usrvars()
2016-10-15 15:57:26 +02:00
rlar 5611ca4f10 harmonise all incarnations of `if_errstring()' to return malloced memory 2016-04-03 18:44:48 +02:00
rlar 4c1c95e20f everywhere, use `TMALLOC()' instead of `alloc()' 2016-03-21 21:22:07 +01:00
rlar df70661c3a dvec abstraction, #11/11, introduce `dvec_realloc()' 2015-12-28 20:34:42 +01:00
rlar 8243696338 dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
rlar 908c650f72 dvec abstraction, #3/11, use `dvec_alloc()' 2015-12-28 20:34:42 +01:00
Francesco Lannutti 99296c9530 Solved linking error for ngsconvert after ft_stricterror patch in src/frontend/variable.c 2012-11-06 10:32:46 +01:00
rlar 67132108ad out_printf() is not supposed to be a preprocessor macro 2012-08-18 18:40:45 +02:00
rlar d4ced47e8e drop out_pbuf, which was an ancient workaround
obviously an old implementation of out_printf()
  has been unreliable.
2012-08-18 18:27:13 +02:00
rlar a056ea3065 #3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex 2012-02-07 19:53:12 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
rlar d26015586c #1/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:27:09 +00:00
rlar 3227d3c170 some explicit `int' casts 2011-07-09 19:40:16 +00:00
rlar e7849c20d7 cleanup fseek() usage 2011-07-09 16:22:51 +00:00
rlar aac6d0802f ngsconvert.c, swallow type conversion warnings 2011-06-25 20:04:20 +00:00
rlar b93fcb3779 remove some useless casts 2011-06-22 17:17:40 +00:00
rlar 049d800b9b bug fix, (#3188327), segfault in ngsconvert 2011-05-28 16:26:22 +00:00
rlar ad8ad56955 Nr 3/5 (x = ...) != 0 , swallow warnings 2010-11-19 18:51:03 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 80286e0032 pour `IGNORE()' all over the source 2010-11-16 19:11:32 +00:00
rlar f30f96a4c7 use `size_t' variables for fread/fwrite operations 2010-11-04 19:15:41 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar 4622d0876e ngcomplex_t instead of complex, #1/2 2010-10-24 12:45:05 +00:00
rlar 1a3be07881 remove obsolete artifact XtDispatchEvent() (dummy implementation) 2010-10-15 18:56:33 +00:00
rlar 8209c0aef3 collect smktemp() in "mktemp.h" 2010-10-15 18:11:11 +00:00
rlar 8ff62fd262 add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar ff459393d0 `const' qualifier for char* arguments of vec_get() and ft_substdef() 2010-07-16 17:00:45 +00:00
h_vogt d7d5a38583 patches by R. Larice 2010-02-08 21:15:17 +00:00
pnenzi d1d4832b65 odification to parsing function for new device model (BSIM3SOIDD). Prepended
ng to binaries and manpages. Online help works again (at least!). Corrected
a bug in cktsgen.
2001-01-21 17:24:23 +00:00