https://bugzilla.redhat.com/show_bug.cgi?id=2151502
Bug ID: 2151502 Summary: perl-Marpa-XS: Build in C89 mode Product: Fedora Version: rawhide Status: ASSIGNED Component: perl-Marpa-XS Assignee: fweimer@redhat.com Reporter: fweimer@redhat.com QA Contact: extras-qa@fedoraproject.org CC: jplesnik@redhat.com, lkundrak@v3.sk, perl-devel@lists.fedoraproject.org Blocks: 2137516 (PortingToModernCExemptions) Target Milestone: --- Classification: Fedora
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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2137516 [Bug 2137516] Porting Fedora to modern C: exemptions
https://bugzilla.redhat.com/show_bug.cgi?id=2151502
Florian Weimer fweimer@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |RAWHIDE Fixed In Version| |perl-Marpa-XS-1.008000-36.f | |c38 Status|ASSIGNED |CLOSED Last Closed| |2022-12-07 11:49:39
https://bugzilla.redhat.com/show_bug.cgi?id=2151502
Red Hat One Jira (issues.redhat.com) redhat-one-jira@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Issue Tracker | |FC-927
perl-devel@lists.fedoraproject.org