AK: Ignore -Wstringop-overflow in Function.h on GCC

This commit is contained in:
Sönke Holz authored and Lucas Chollet committed 2026-05-06 10:46:02 +02:00
1 parent f383343f00
commit a82cb13a15
1 file changed
+3
+3
View File
@@ -52,6 +52,9 @@ namespace AK {
# pragma GCC diagnostic push
// FIXME: GCC does not like the union, thinking we access a zero-sized array out of bounds.
# pragma GCC diagnostic ignored "-Warray-bounds"
// FIXME: GCC claims that the atomic m_call_nesting member is sometimes accessed out of bounds.
// Figure out if this is a false-positive.
# pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
template<typename>