Kaydet (Commit) 5e8de61a authored tarafından David Ostrovsky's avatar David Ostrovsky Kaydeden (comit) Michael Stahl

Disable C4324 structure was padded due to __declspec(align()) warning

Change-Id: I0b4dfe8fe06eb8f7f9fd2929d4efb4f52b25abea
Reviewed-on: https://gerrit.libreoffice.org/14560Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 38671c86
......@@ -37,12 +37,21 @@ extern "C" {
#include <JpegWriter.hxx>
#include <boost/scoped_array.hpp>
#ifdef _MSC_VER
#pragma warning(push, 1) /* disable to __declspec(align()) aligned warning */
#pragma warning (disable: 4324)
#endif
struct ErrorManagerStruct
{
jpeg_error_mgr pub;
jmp_buf setjmp_buffer;
};
#ifdef _MSC_VER
#pragma warning(pop)
#endif
extern "C" void errorExit (j_common_ptr cinfo)
{
ErrorManagerStruct * error = reinterpret_cast<ErrorManagerStruct *>(cinfo->err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment