syoyo/tinyexr

meh, MSVC warning treated as error #pragma warning(push) mismatch

yibbidy opened this issue · 1 comments

I noticed a mismatched #pragma warning(push) #pragma warning(pop) in tinyexr.h regarding the MINIZ_HEADER_FILE_ONLY macro on a Win build:

tinyexr.h
1883 #ifndef MINIZ_HEADER_FILE_ONLY
...
4447 #pragma warning(push)
...
6920 #endif // MINIZ_HEADER_FILE_ONLY
...
6961 #pragma warning(pop) <--- that should be in the MINIZ_HEADER_FILE_ONLY scope

syoyo commented

Good catch! Fixed.