Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-19 Thread Florian Weimer
* G. Branden Robinson: > Perhaps the thing to do here is have, , yet another command-line > option for GCC. The Ada language did something similar a couple of > decades ago to tighten up the language for hard real-time demands, with > what it called the "Ravenscar profile".[1] That proved succes

Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-18 Thread Sam James
Oskari Pirhonen writes: > [[PGP Signed Part:Undecided]] > On Tue, Apr 18, 2023 at 16:07:45 +0200, Florian Weimer wrote: >> Gentoo has been fixing various packages for building with Clang, which >> covers a superset of the issues that need to be addressed: >> >> [TRACKER] Support LLVM/Clang as

Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-18 Thread Oskari Pirhonen
On Tue, Apr 18, 2023 at 16:07:45 +0200, Florian Weimer wrote: > Gentoo has been fixing various packages for building with Clang, which > covers a superset of the issues that need to be addressed: > > [TRACKER] Support LLVM/Clang as alternative system compiler >

Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-18 Thread Arsen Arsenović
Paul Wise writes: > On Tue, 2023-04-18 at 16:07 +0200, Florian Weimer wrote: > >> TL;DR: I want to propose a GCC 14 change which will impact >> distributions, so I'd like to gather some feedback from Debian. > > Is this change being made the upstream defaults? > > Or will it be a distro override

Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-18 Thread Paul Wise
On Tue, 2023-04-18 at 16:07 +0200, Florian Weimer wrote: > TL;DR: I want to propose a GCC 14 change which will impact > distributions, so I'd like to gather some feedback from Debian. Is this change being made the upstream defaults? Or will it be a distro override like the hardening flags are?

Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-18 Thread Guillem Jover
Hi! On Tue, 2023-04-18 at 17:54:20 -0500, G. Branden Robinson wrote: > At 2023-04-18T16:07:45+0200, Florian Weimer wrote: > > TL;DR: I want to propose a GCC 14 change which will impact > > distributions, so I'd like to gather some feedback from Debian. > > I would appreciate some discussion on th

Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-18 Thread G. Branden Robinson
[I am not subscribed to debian-gcc or c-std-porting] Hi Florian, At 2023-04-18T16:07:45+0200, Florian Weimer wrote: > TL;DR: I want to propose a GCC 14 change which will impact > distributions, so I'd like to gather some feedback from Debian. > > Clang has disabled support for a few historic C f

RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

2023-04-18 Thread Florian Weimer
TL;DR: I want to propose a GCC 14 change which will impact distributions, so I'd like to gather some feedback from Debian. Clang has disabled support for a few historic C features by default over the last few releases. This mirrors a process that Apple has begun in Xcode even earlier (perhaps mot