[pzstd] Turn on warnings + quiet them

This commit is contained in:
Nick Terrell
2016-09-22 16:12:29 -07:00
parent c3b8f2b715
commit 5eaf5da723
7 changed files with 45 additions and 31 deletions
+3 -2
View File
@@ -21,10 +21,11 @@
namespace pzstd {
// using file_status = ... causes gcc to emit a false positive warning
#if defined(_MSC_VER)
using file_status = struct ::_stat64;
typedef struct ::_stat64 file_status;
#else
using file_status = struct ::stat;
typedef struct ::stat file_status;
#endif
/// http://en.cppreference.com/w/cpp/filesystem/status