Bug 2154544 - kBuild: C99 compatibility issues
Summary: kBuild: C99 compatibility issues
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kBuild
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-12-17 16:17 UTC by Florian Weimer
Modified: 2023-12-20 14:00 UTC (History)
3 users (show)

Fixed In Version: kBuild-0.1.9998.r3589-3.20230220.fc40
Clone Of:
Environment:
Last Closed: 2022-12-17 16:56:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kBuild-configure-c99.patch (1.64 KB, patch)
2022-12-17 16:55 UTC, Florian Weimer
no flags Details | Diff
kBuild-c99.patch (3.17 KB, patch)
2022-12-17 16:55 UTC, Florian Weimer
no flags Details | Diff
kBuild-c99-2.patch (599 bytes, patch)
2023-12-20 12:45 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2022-12-17 16:17:49 UTC
There are various C99 compatibility issues. For example, some translation units do not include <string.h> if <strings.h> is available (and it is on GNU/Linux), resulting in implicit function declarations.

I'm going to try to fix this. I don't see a way to report patches upstream, which is why I'm filing this bug here for tracking purposes.

Comment 1 Florian Weimer 2022-12-17 16:55:20 UTC
Created attachment 1933261 [details]
kBuild-configure-c99.patch

Comment 2 Florian Weimer 2022-12-17 16:55:42 UTC
Created attachment 1933262 [details]
kBuild-c99.patch

Comment 3 Florian Weimer 2023-12-20 12:45:59 UTC
Created attachment 2005133 [details]
kBuild-c99-2.patch

Another fix. This looks like a fix for an actual bug.


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