Bug 2142177 - Porting Fedora to Modern C
Summary: Porting Fedora to Modern C
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Changes Tracking
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact:
URL:
Whiteboard:
Depends On: PortingToModernC 2258853
Blocks: F40Changes
TreeView+ depends on / blocked
 
Reported: 2022-11-11 22:09 UTC by Ben Cotton
Modified: 2024-04-29 09:29 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-04-29 09:29:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Cotton 2022-11-11 22:09:19 UTC
This is a tracking bug for Change: Porting Fedora to Modern C
For more details, see: https://fedoraproject.org/wiki/Changes/PortingToModernC

Back in 1999, a new revision of the C standard removed several backwards compatibility features. However, GCC still accepts these obsolete constructs by default. Support for these constructs is confusing to programmers and potentially affect GCC's ability to implement features from future C standards. It is expected that a future GCC version (likely GCC 14) will disable support for these legacy language constructs by default. The goal of this change is to prepare Fedora for this transition.

If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.

Comment 1 Florian Weimer 2022-12-01 10:46:19 UTC
Work is tracked through the descendants of bug 2137509, and Git repositories:

https://gitlab.com/fweimer-rh/fedora-modernc
https://gitlab.com/fweimer-rh/fedora-modernc-logs

Comment 3 Aoife Moloney 2024-02-19 17:30:31 UTC
Hi Florian,


Is this change still on target for F40 for completion? Im doing a check in on all F40 changes as were approaching Beta Freeze and the 100% complete deadline for changes to make sure they are on track or not. 

I appreciate any update you hav.

Thanks,
Aoife

Comment 4 Carlos O'Donell 2024-02-21 22:18:10 UTC
(In reply to Aoife Moloney from comment #3)
> Is this change still on target for F40 for completion? Im doing a check in
> on all F40 changes as were approaching Beta Freeze and the 100% complete
> deadline for changes to make sure they are on track or not. 

Given that the deadline for 100% is 2024-02-27 I'll go ahead and try my best to comment on the status here.

Florian is currently out and can respond when he gets back.

The release of GCC 14 and the inclusion into Fedora 40 means we picked up the upstream work to enable several new warnings by default.

Florian and many other developers have fixed as much as possible in the distribution up to this point.

The redhat-rpm-changes have switched the C type safety level to 3 so that we default to the best possible type safety warnings to improve security.

Subsequent changes to redhat-rpm-config can happen naturally as part of Fedora 40 over time.

I would consider this change request as complete as we will get right now for Fedora 40.

Comment 5 Aoife Moloney 2024-04-29 09:29:27 UTC
F40 was released on 2024-04-23, so I am closing this tracker. If this Change was not completed, please notify me ASAP.


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