tech-pkg archive

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

gcc7 patch




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?

Thanks,

    JB

--- 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



Home | Main Index | Thread Index | Old Index