mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-08 22:09:06 +08:00
Disable "decorated name length exceeded, name was truncated" MSVC warning.
This commit is contained in:
parent
f3dca16a1d
commit
f9fff67a56
@ -10,6 +10,7 @@
|
|||||||
// 4244 - 'argument' : conversion from 'type1' to 'type2', possible loss of data
|
// 4244 - 'argument' : conversion from 'type1' to 'type2', possible loss of data
|
||||||
// 4273 - QtAlignedMalloc, inconsistent DLL linkage
|
// 4273 - QtAlignedMalloc, inconsistent DLL linkage
|
||||||
// 4324 - structure was padded due to declspec(align())
|
// 4324 - structure was padded due to declspec(align())
|
||||||
|
// 4503 - decorated name length exceeded, name was truncated
|
||||||
// 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
|
||||||
@ -17,7 +18,7 @@
|
|||||||
#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 4512 4522 4700 4717 )
|
#pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4503 4512 4522 4700 4717 )
|
||||||
#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)
|
||||||
// ICC 12 generates this warning even without any inline keyword, when defining class methods 'inline' i.e. inside of class body
|
// ICC 12 generates this warning even without any inline keyword, when defining class methods 'inline' i.e. inside of class body
|
||||||
|
Loading…
x
Reference in New Issue
Block a user