Added local disabling the the VS C4121 "alignment of a member was sensitive to packing" warning

This commit is contained in:
Robert Osfield
2009-02-03 11:54:46 +00:00
parent b51adc6f24
commit c5733fef14

View File

@@ -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