Bug 2148487 - tgif: Avoid implicit int for C99 compatibility
Summary: tgif: Avoid implicit int for C99 compatibility
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tgif
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: 2022-11-25 16:09 UTC by Florian Weimer
Modified: 2022-11-25 16:11 UTC (History)
1 user (show)

Fixed In Version: tgif-4.2.5-26.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-25 16:11:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
tgif-c99.patch (6.35 KB, patch)
2022-11-25 16:09 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2022-11-25 16:09:50 UTC
Created attachment 1927442 [details]
tgif-c99.patch

Building tgif with a strict(er) C99 compiler currently fails because the source uses old-style function definitions, but does not specify the types of all parameters in some cases.

Old-style function definitions are still part of C99, but these implicit ints are not. Implicit int will likely become an error in the default language mode in a future GCC release.

Filing this here for tracking purposes, upstream doesn't seem to have a bug tracker.


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