Bug 2151502

Summary: perl-Marpa-XS: Build in C89 mode
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: perl-Marpa-XSAssignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, lkundrak, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Marpa-XS-1.008000-36.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-07 11:49:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2137516    

Description Florian Weimer 2022-12-07 11:35:49 UTC
The sources are written in CWEB. The header file generated from the CWEB input is incomplete, and the XS module uses implicit function declarations. I spot-checked and these functions return int, so this hopefully is okay.

Given that this Perl module does not seem to see active development, it doesn't look like it's worth porting it to C99.  Setting the compiler to CC="gcc -std=gnu89" is properly honored, so implementing the exception is easy.