disable Visual Studio "warning: C4127: conditional expression is constant"
This commit is contained in:
parent
2c0144a849
commit
e57c96abda
|
|
@ -1,3 +1,7 @@
|
|||
2011-08-05 Robert Larice
|
||||
* src/include/ngspice.h :
|
||||
disable Visual Studio "warning: C4127: conditional expression is constant"
|
||||
|
||||
2011-08-05 Robert Larice
|
||||
* src/maths/cmaths/cmath2.c :
|
||||
rewrite to fix potential (actuall impossible) usage of variable `c'
|
||||
|
|
|
|||
|
|
@ -178,6 +178,8 @@
|
|||
static const __int64 global_nan = 0x7ff8000000000000i64;
|
||||
#define NAN (*(const double *) &global_nan)
|
||||
#endif
|
||||
// warning C4127: Bedingter Ausdruck ist konstant
|
||||
#pragma warning(disable: 4127)
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue