Fix g++ pragma errors
This commit is contained in:
parent
2272a5ab4d
commit
372f957e4a
1 changed files with 2 additions and 2 deletions
4
src/3rdparty/rapidjson/internal/dtoa.h
vendored
4
src/3rdparty/rapidjson/internal/dtoa.h
vendored
|
@ -30,8 +30,8 @@ namespace internal
|
|||
#ifdef __GNUC__
|
||||
RAPIDJSON_DIAG_PUSH
|
||||
RAPIDJSON_DIAG_OFF(effc++)
|
||||
RAPIDJSON_DIAG_OFF(array -
|
||||
bounds) // some gcc versions generate wrong warnings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124
|
||||
RAPIDJSON_DIAG_OFF(array-bounds)
|
||||
// some gcc versions generate wrong warnings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124
|
||||
#endif
|
||||
|
||||
inline void GrisuRound(char* buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue