Closed guitorri closed 9 years ago
This does not make much sense: https://github.com/Qucs/qucs/blob/master/qucs-core/src/consts.h#L37-L48
A #define is handled by the preprocessor and end up having global scope.
#define
We should replace the #define by typed const instead.
const
The fix looks easy, but it has implication on the Verilog models and ADMS generator.
As a mater of fact we had to work around the collision of T0 from qucs with a T0 variable on the BSIM6 model.
T0
Fix merged in 1a856890df45b8dd0d547f7cdeffb20d9bfaf352
This does not make much sense: https://github.com/Qucs/qucs/blob/master/qucs-core/src/consts.h#L37-L48
A
#define
is handled by the preprocessor and end up having global scope.We should replace the
#define
by typedconst
instead.The fix looks easy, but it has implication on the Verilog models and ADMS generator.
As a mater of fact we had to work around the collision of
T0
from qucs with aT0
variable on the BSIM6 model.