Thank you. I committed those changes, although it's Jim's work. I haven't the foggiest idea, right now, how those errors got past my testing, and I am a bit embarrassed.
I'll look into it, forthwith. > -----Original Message----- > From: Andreas Schwab <[email protected]> > Sent: Sunday, October 26, 2025 08:36 > To: Robert Dubner <[email protected]> > Cc: 'Richard Biener' <[email protected]>; 'James K. Lowden' > <[email protected]>; [email protected] > Subject: Re: [committed] cobol: Implement the XML PARSE statement; > implement > POSIX > > ../../../libgcobol/xmlparse.cc: In function ‘xmlEntity* getEntity(void*, > const > xmlChar*)’: > ../../../libgcobol/xmlparse.cc:394:22: error: no return statement in > function > returning non-void [-Werror=return-type] > 394 | { SAYSO_DATAZ(name); } > | ^ > ../../../libgcobol/xmlparse.cc:392:38: warning: unused parameter ‘ctx’ [- > Wunused-parameter] > 392 | static xmlEntityPtr getEntity(void * ctx, > | ~~~~~~~^~~ > ../../../libgcobol/xmlparse.cc: In function ‘xmlEntity* > getParameterEntity(void*, const xmlChar*)’: > ../../../libgcobol/xmlparse.cc:398:22: error: no return statement in > function > returning non-void [-Werror=return-type] > 398 | { SAYSO_DATAZ(name); } > | ^ > ../../../libgcobol/xmlparse.cc:396:47: warning: unused parameter ‘ctx’ [- > Wunused-parameter] > 396 | static xmlEntityPtr getParameterEntity(void * ctx, > | ~~~~~~~^~~ > ../../../libgcobol/xmlparse.cc: In function ‘int hasExternalSubset(void*)’: > ../../../libgcobol/xmlparse.cc:401:12: error: no return statement in > function > returning non-void [-Werror=return-type] > 401 | { SAYSO(); } > | ^ > ../../../libgcobol/xmlparse.cc: In function ‘int hasInternalSubset(void*)’: > ../../../libgcobol/xmlparse.cc:404:12: error: no return statement in > function > returning non-void [-Werror=return-type] > 404 | { SAYSO(); } > | ^ > ../../../libgcobol/xmlparse.cc: In function ‘int isStandalone(void*)’: > ../../../libgcobol/xmlparse.cc:418:12: error: no return statement in > function > returning non-void [-Werror=return-type] > 418 | { SAYSO(); } > | ^ > ../../../libgcobol/xmlparse.cc: In function ‘xmlParserInput* > resolveEntity(void*, const xmlChar*, const xmlChar*)’: > ../../../libgcobol/xmlparse.cc:444:12: error: no return statement in > function > returning non-void [-Werror=return-type] > 444 | { SAYSO(); } > | ^ > cc1plus: some warnings being treated as errors > make[3]: *** [Makefile:579: xmlparse.lo] Error 1 > make[3]: Leaving directory > '/home/abuild/rpmbuild/BUILD/gcc16-16.0.0+git4629- > build/gcc-16.0.0+git4629/obj-x86_64-suse-linux/x86_64-suse-linux/libgcobol' > > -- > Andreas Schwab, [email protected] > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 > "And now for something completely different."
