Skip to content

Commit

Permalink
Merge pull request #130 from GabrieleGiuseppini/master
Browse files Browse the repository at this point in the history
Disabled warning 4706 under Visual Studio (fixes #129)
  • Loading branch information
kazuho authored Jul 19, 2020
2 parents 5440d44 + 0b5edd3 commit a495b83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions picojson.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ extern "C" {
#pragma warning(disable : 4244) // conversion from int to char
#pragma warning(disable : 4127) // conditional expression is constant
#pragma warning(disable : 4702) // unreachable code
#pragma warning(disable : 4706) // assignment within conditional expression
#else
#define SNPRINTF snprintf
#endif
Expand Down

0 comments on commit a495b83

Please sign in to comment.