SHA256
1
0
forked from pool/libvma
libvma/issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch

22 lines
816 B
Diff

commit 24524730a0344c7de1bba2ba9a2bf637bb32153f
Author: Igor Ivanov <igori@nvidia.com>
Date: Mon Feb 20 18:05:47 2023 +0200
issue: 3373882 Fix compilation issue for gcc 13.0.1
Signed-off-by: Igor Ivanov <igori@nvidia.com>
diff --git config/m4/compiler.m4 config/m4/compiler.m4
index 014a01f1ed51..3c93276f7b7c 100644
--- config/m4/compiler.m4
+++ config/m4/compiler.m4
@@ -143,7 +143,7 @@ case $CC in
-Wno-free-nonheap-object "
CXXFLAGS="$CXXFLAGS -Wshadow -Wall -Wextra -Werror -Wundef \
-ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs \
- -Wno-free-nonheap-object "
+ -Wno-free-nonheap-object -Wno-overloaded-virtual "
;;
icc*|icpc*)
AC_MSG_RESULT([icc])