Skip to content

Commit 051db39

Browse files
committed
Fix for issue 149706
1 parent acefff9 commit 051db39

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Include/pyport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,10 @@ extern "C" {
584584
#endif
585585

586586
#ifndef _Py_NO_SANITIZE_ADDRESS
587+
#pragma GCC diagnostic push
588+
#pragma GCC diagnostic ignored "-Wstringop-truncation"
587589
# define _Py_NO_SANITIZE_ADDRESS
590+
#pragma GCC diagnostic pop
588591
#endif
589592
#ifndef _Py_NO_SANITIZE_THREAD
590593
# define _Py_NO_SANITIZE_THREAD

0 commit comments

Comments
 (0)