154c077fa5
libxml/parser.h which cause GCC 14 to emit compiler error rather than a warning. - Add -Wno-error=incompatible-pointer-types to optflags so that GCC 14 can compile test 0987 without failing with an error. If the request is OK, please forward it to Factory soon-ish so that the package is ready when we switch the default compiler. For the reference, I have also looked at upgrading gnu-cobol to version 3.2 which would have avoided the need for the -Wno-error option but there are weird test failures on Aarch64 (and IIRC also ppc64le) so at least for now, I settled on fixing the version we have. OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/gnu-cobol?expand=0&rev=15
14 lines
490 B
Diff
14 lines
490 B
Diff
Index: gnucobol-3.1.2/tests/testsuite.src/run_misc.at
|
|
===================================================================
|
|
--- gnucobol-3.1.2.orig/tests/testsuite.src/run_misc.at
|
|
+++ gnucobol-3.1.2/tests/testsuite.src/run_misc.at
|
|
@@ -10402,7 +10402,7 @@ COB_EXT_EXPORT int
|
|
CAPI (void *p1, ...)
|
|
{
|
|
int k,nargs,type,digits,scale,size,sign,byvalue;
|
|
- cob_s64_t val;
|
|
+ cob_s64_t val = 0;
|
|
char *str;
|
|
char wrk[80],pic[30]; /* note: maxium _theoretical_ size */
|
|
|