libvma/0001-Fix-compilation-issue-for-gcc-13.0.1.patch
Igor Ivanov 0b4e109fee Fix gcc13 compilation issue
Signed-off-by: Igor Ivanov <igori@nvidia.com>
2023-02-20 16:13:08 +00:00

27 lines
933 B
Diff

From 87c8ac5b9d4a2cead9be46a993c734a33490bb95 Mon Sep 17 00:00:00 2001
From: Igor Ivanov <igori@nvidia.com>
Date: Mon, 20 Feb 2023 18:05:47 +0200
Subject: [PATCH] issue: 3373882 Fix compilation issue for gcc 13.0.1
Signed-off-by: Igor Ivanov <igori@nvidia.com>
---
config/m4/compiler.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4
index 328d1bae..ec6340bd 100644
--- a/config/m4/compiler.m4
+++ b/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])
--
2.25.1