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

Fixed In Version: gt-0.4-38.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-11 11:59:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gt-c99.patch (1.50 KB, patch)
2023-01-11 11:35 UTC, Florian Weimer
no flags Details | Diff
gt-configure-c99.patch (1.13 KB, patch)
2023-01-11 11:35 UTC, Florian Weimer
no flags Details | Diff


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

Description Florian Weimer 2023-01-11 11:35:31 UTC
Created attachment 1937284 [details]
gt-c99.patch

I started porting the package to C99, but there are too many issues.

With the attached patch, the next slew of issues are:

dim.c:323: defaulting to int
dim.c:967: type defaults to int
dim.c:983: type defaults to int
dim.c:983: type defaults to int
dim.c:1014: type defaults to int
dim.c:951: type defaults to int
dim.c:853: type defaults to int
dim.c:951: type defaults to int
dim.c:678: type defaults to int
dim.c:678: type defaults to int
dim.c:669: type defaults to int
dim.c:1028: type defaults to int
dim.c:1044: type defaults to int
dim.c:1056: type defaults to int
dim.c:1056: type defaults to int
dim.c:1056: type defaults to int
dim.c:1028: type defaults to int
dim.c:1056: type defaults to int
dim.c:1044: type defaults to int
dim.c:1056: type defaults to int
dim.c:1044: type defaults to int
dim.c:1044: type defaults to int
dim.c:1064: type defaults to int
dim.c:669: type defaults to int
dim.c:662: type defaults to int
dim.c:397: type defaults to int
dim.c:422: type defaults to int
dim.c:422: type defaults to int
dim.c:422: type defaults to int
dim.c:397: type defaults to int
dim.c:352: implicit function declaration: initfuncs
dim.c:397: type defaults to int
dim.c:329: defaulting to int
dim.c:329: type defaults to int
dim.c:662: type defaults to int
dim.c:439: type defaults to int
dim.c:439: type defaults to int
dim.c:547: type defaults to int
dim.c:547: type defaults to int
dim.c:662: type defaults to int
dim.c:439: type defaults to int
dim.c:547: type defaults to int
dim.c:456: type defaults to int
dim.c:456: type defaults to int
dim.c:456: type defaults to int
dim.c:1103: defaulting to int

And I suspect it goes on after that.

Comment 1 Florian Weimer 2023-01-11 11:35:57 UTC
Created attachment 1937285 [details]
gt-configure-c99.patch


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