mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
work around build warning on jetson (#8701)
This commit is contained in:
parent
333ef3c089
commit
7ff6a5e503
1 changed files with 5 additions and 0 deletions
|
|
@ -61,10 +61,15 @@
|
|||
#ifdef _WIN32
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 28020)
|
||||
#elif __aarch64__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||
#endif
|
||||
#include "nlohmann/json.hpp"
|
||||
#ifdef _WIN32
|
||||
#pragma warning(pop)
|
||||
#elif __aarch64__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include "asserts.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue