Re: [PATCH] toolchain/gcc: set dialects for each version

2022-01-27 Thread Stijn Tintel
On 27/01/2022 20:10, Bas Mevissen via openwrt-devel wrote: > > On 1/25/22 18:02, Stijn Tintel wrote: >> GCC has an option "-std=" to set the language standard for C and C++. >> Newer GCC versions sometimes switch to newer standards by default. This >> has the potential to break the OpenWrt

Re: [PATCH] toolchain/gcc: set dialects for each version

2022-01-27 Thread Bas Mevissen via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- On 1/25/22 18:02, Stijn Tintel

Re: [PATCH] toolchain/gcc: set dialects for each version

2022-01-25 Thread Rosen Penev
On Tue, Jan 25, 2022 at 9:06 AM Stijn Tintel wrote: > > GCC has an option "-std=" to set the language standard for C and C++. > Newer GCC versions sometimes switch to newer standards by default. This > has the potential to break the OpenWrt toolchain build whenever a distro > introduces a new GCC

[PATCH] toolchain/gcc: set dialects for each version

2022-01-25 Thread Stijn Tintel
GCC has an option "-std=" to set the language standard for C and C++. Newer GCC versions sometimes switch to newer standards by default. This has the potential to break the OpenWrt toolchain build whenever a distro introduces a new GCC version that uses a newer dialect by default. Let's set the