The Samba-Bugzilla – Attachment 17298 Details for
Bug 15073
Fix building Samba with gcc 12
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.15
v4-15-fix-gcc-12-build.patch (text/plain), 1.32 KB, created by
Andreas Schneider
on 2022-05-23 11:42:49 UTC
(
hide
)
Description:
patch for 4.15
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2022-05-23 11:42:49 UTC
Size:
1.32 KB
patch
obsolete
>From e26b113167a441f7b798e64dbd370f641b9d9e22 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 17 May 2022 12:43:51 +0200 >Subject: [PATCH] lib:util: Do not error for array-bounds warning >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This just prints a warning for: > >ms_fnmatch.c:95:51: error: array subscript 0 is outside array bounds of >âstruct max_n[0]â [-Werror=array-bounds] > 95 | if (max_n != NULL && max_n->predot && > | > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=15073 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Alexander Bokovoy <ab@samba.org> >(cherry picked from commit 00e31d9d069db9fd36bf2e668047921a5645351d) >--- > lib/util/wscript_build | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/lib/util/wscript_build b/lib/util/wscript_build >index b8cfddb3f41..f62d5995c6a 100644 >--- a/lib/util/wscript_build >+++ b/lib/util/wscript_build >@@ -208,6 +208,7 @@ else: > tfork.h > ''', > header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ], >+ cflags='-Wno-error=array-bounds', > local_include=False, > vnum='0.0.1', > pc_files='samba-util.pc' >-- >2.36.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 15073
:
17296
|
17298
|
17429