Bug 2151502 - perl-Marpa-XS: Build in C89 mode
Summary: perl-Marpa-XS: Build in C89 mode
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Marpa-XS
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCExemptions
TreeView+ depends on / blocked
 
Reported: 2022-12-07 11:35 UTC by Florian Weimer
Modified: 2023-08-16 09:25 UTC (History)
3 users (show)

Fixed In Version: perl-Marpa-XS-1.008000-36.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-07 11:49:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-927 0 None None None 2023-08-16 09:25:23 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.