Added local disabling the the VS C4121 "alignment of a member was sensitive to packing" warning
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
#ifndef OSGINTROSPECTION_TYPEDMETHODINFO_
|
||||
#define OSGINTROSPECTION_TYPEDMETHODINFO_
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// disable for this header the VS warning C4121 : "alignment of a member was sensitive to packing"
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4121)
|
||||
#endif
|
||||
|
||||
#include <osgIntrospection/MethodInfo>
|
||||
#include <osgIntrospection/Reflection>
|
||||
#include <osgIntrospection/Utility>
|
||||
@@ -3901,5 +3907,9 @@ namespace osgIntrospection
|
||||
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning( pop )
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user