Bug 2159269 - bib2html: C99 compatibility fixes
Summary: bib2html: C99 compatibility fixes
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bib2html
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2023-01-09 09:28 UTC by Florian Weimer
Modified: 2023-01-11 12:16 UTC (History)
1 user (show)

Fixed In Version: bib2html-1.2.1-34.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-11 12:16:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bib2html-c99.patch (2.07 KB, text/plain)
2023-01-09 09:28 UTC, Florian Weimer
no flags Details

Description Florian Weimer 2023-01-09 09:28:46 UTC
Created attachment 1936748 [details]
bib2html-c99.patch

In order to avoid build failures with future compilers, we need to add proper function prototypes to the generated parser and lexer. The sources already hint to this, but automake is generally quite poor at supporting this. What works in my experience is to add the required prototypes to some header file that is included everywhere (including the generated lexer/parser sources, so that the manually written declarations are checked against the implementation).

Tracking this here because upstream seems to be inactive.


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