Skip to content

Commit

Permalink
ignore web warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamLouly committed Mar 14, 2024
1 parent 596350e commit 8d4e000
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions include/onnxruntime/core/graph/graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,19 @@
#pragma warning(pop)
#endif

#if defined(__GNUC__)
#pragma GCC diagnostic push

#ifdef HAS_SHORTEN_64_TO_32
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
#endif

#include "flatbuffers/flatbuffers.h"

#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif

#include "core/common/gsl.h"

#include "core/common/common.h"
Expand Down

0 comments on commit 8d4e000

Please sign in to comment.