tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc7 patch

On 2020-02-28 19:22, Jason Bacon wrote:

After fixing binutils, gcc7 also fails on CentOS 7.

The simple patch below fixes the issue, which is clearly flagged by error messages stating that variable definitions in for loops are only supported in C99 mode.

Any concerns about this patch?



--- Makefile    18 Jan 2020 23:32:43 -0000    1.26
+++ Makefile    29 Feb 2020 01:20:16 -0000
@@ -23,7 +23,7 @@

 NOT_FOR_PLATFORM=    Interix-*-*

-USE_LANGUAGES=        c c++
+USE_LANGUAGES=        c99 c++
 USE_TOOLS+=        gmake makeinfo perl sed:run tar:build
 USE_TOOLS.NetBSD+=    gsed

I haven't seen any objections, so is it OK to commit this patch?

That will open one option for my CentOS bulk builds for 2020Q1, though I may use gcc8 if it's fixed in time to allow for proper testing.



Home | Main Index | Thread Index | Old Index