S
S
sitev_ru2017-01-31 11:55:16
C++ / C#
sitev_ru, 2017-01-31 11:55:16

Why might such a strange error occur?

I have Visual Studio C++ 2013. I am
compiling a third-party program and during compilation a window pops up with the following error:
7a957300c7e24262906a323b011ed7d8.png
Compilation stops here. What could it be?
Simplified the code to a minimum:

#include "stdafx.h"
#include <zlib.h>
struct a {
  z_stream_s inflationStream = {};
};

int _tmain(int argc, _TCHAR* argv[])
{
  return 0;
}

ZLib taken from here: https://github.com/madler/zlib

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pixik, 2017-01-31
@pixik

Try setting a different optimization level in the project settings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question