mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
AK: Ignore -Wstringop-overflow in Function.h on GCC
This commit is contained in:
1 parent
f383343f00
commit
a82cb13a15
1 file changed
+3
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user