Skip to content

Commit

Permalink
Merge pull request #22 from wx257osn2/suppress-warning
Browse files Browse the repository at this point in the history
suppress warning
  • Loading branch information
wx257osn2 committed Feb 6, 2024
2 parents afc4e16 + eff17a6 commit 2a60261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qoibench.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma GCC diagnostic ignored "-Wunused-function"
#elif defined(_MSC_VER)
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(push)
Expand Down
2 changes: 2 additions & 0 deletions src/qoiconv.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma GCC diagnostic ignored "-Wunused-function"
#elif defined(_MSC_VER)
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(push)
Expand Down

0 comments on commit 2a60261

Please sign in to comment.