diff --git a/system/jlib/jsecrets.cpp b/system/jlib/jsecrets.cpp index 13d697120fe..71965327b10 100644 --- a/system/jlib/jsecrets.cpp +++ b/system/jlib/jsecrets.cpp @@ -31,6 +31,9 @@ #if defined(__clang__) || defined(__GNUC__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wformat-nonliteral" + +//httplib also generates warning about access outside of array bounds in gcc +#pragma GCC diagnostic ignored "-Warray-bounds" #endif #ifdef _USE_OPENSSL