Commits


zhjwpku authored and GitHub committed 8b4a548baf8
GH-35651: [C++] Suppress self-move warning introduced in gcc 13 (#36328) ### Rationale for this change PR #35653 had a fix for MinGW, but I think the real cause is that gcc add a new warning -Wself-move. see https://gcc.gnu.org/gcc-13/changes.html. We should suppress it if we need to move to itself. ### What changes are included in this PR? suppress self-move warning by adding a cpp flag ### Are these changes tested? Yes ### Are there any user-facing changes? No * Closes: #35651 Authored-by: Zhao Junwang <zhjwpku@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>