mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
disabled MSVC level 4 warning C4714
The level 4 warning (/W4) warns about functions marked as __forceinline not inlined, and generates a lot of noise.
This commit is contained in:
parent
77e27fbeee
commit
fe29157d02
@ -14,12 +14,13 @@
|
|||||||
// 4512 - assignment operator could not be generated
|
// 4512 - assignment operator could not be generated
|
||||||
// 4522 - 'class' : multiple assignment operators specified
|
// 4522 - 'class' : multiple assignment operators specified
|
||||||
// 4700 - uninitialized local variable 'xyz' used
|
// 4700 - uninitialized local variable 'xyz' used
|
||||||
|
// 4714 - function marked as __forceinline not inlined
|
||||||
// 4717 - 'function' : recursive on all control paths, function will cause runtime stack overflow
|
// 4717 - 'function' : recursive on all control paths, function will cause runtime stack overflow
|
||||||
// 4800 - 'type' : forcing value to bool 'true' or 'false' (performance warning)
|
// 4800 - 'type' : forcing value to bool 'true' or 'false' (performance warning)
|
||||||
#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
|
#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#endif
|
#endif
|
||||||
#pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4503 4512 4522 4700 4717 4800)
|
#pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4503 4512 4522 4700 4714 4717 4800)
|
||||||
|
|
||||||
#elif defined __INTEL_COMPILER
|
#elif defined __INTEL_COMPILER
|
||||||
// 2196 - routine is both "inline" and "noinline" ("noinline" assumed)
|
// 2196 - routine is both "inline" and "noinline" ("noinline" assumed)
|
||||||
|
Loading…
Reference in New Issue
Block a user