1 // This is not your usual header guard. The macro 2 // PHOTOS_EDITING_FORMATS_DYNAMIC_DEPTH_INTERNAL_BASE_WARNINGS_DISABLED shows up 3 // again in reenable_warnings.h. 4 #ifndef DYNAMIC_DEPTH_WARNINGS_DISABLED // NOLINT 5 #define DYNAMIC_DEPTH_WARNINGS_DISABLED 6 7 #ifdef _MSC_VER 8 #pragma warning(push) 9 // Disable the warning C4251 which is triggered by stl classes in 10 // xmpmeta's public interface. To quote MSDN: "C4251 can be ignored " 11 // "if you are deriving from a type in the Standard C++ Library" 12 #pragma warning(disable : 4251) 13 #endif 14 15 #endif // DYNAMIC_DEPTH_WARNINGS_DISABLED 16