Skip to content

Commit

Permalink
🚑 fix for #393
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Dec 12, 2016
1 parent f6c21a1 commit b8776e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ SOFTWARE.
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
#endif

// disable documentation warnings on clang
#if defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdocumentation"
#endif

Expand Down
5 changes: 5 additions & 0 deletions src/json.hpp.re2c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ SOFTWARE.
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
#endif

// disable documentation warnings on clang
#if defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdocumentation"
#endif

Expand Down

0 comments on commit b8776e8

Please sign in to comment.