TinyJPEG icon indicating copy to clipboard operation
TinyJPEG copied to clipboard

Remove warning on Visual Studio

Open mhammerc opened this issue 8 years ago • 0 comments

Tested on Visual Studio 2015, should work on 2012, 2013, 2017 and maybe even more.

Visual Studio refuse to compile due to the use of fopen(). This pragma disable the warning and let the compilation proceed.

I took the code from LodePNG https://github.com/lvandeve/lodepng/blob/master/lodepng.cpp#L37-L40 That's not a very important PR but may be useful to somes !

Thanks.

mhammerc avatar Jul 21 '17 09:07 mhammerc