CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected] 2025/11/10 08:14:12

Modified files:
        lang/gcc/15    : Makefile 
        lang/gcc/15/patches: patch-gcc_c_c-decl_cc 
Added files:
        lang/gcc/15/patches: patch-gcc_c-family_c-opts_cc 
                             patch-gcc_c_c-typeck_cc 

Log message:
Add the follwoing local modifications to gcc to behave more like base-clang.

- default to gnu17 (instead of gnu23)
- turn -Wimplicit-function-declaration and -Wincompatible-pointer-types
into simple warnings.

With this a large part of the ports tree can be compiled with gcc15 as
ports-gcc. Reverting the behaviour of -Wimplicit-function-declaration
and -Wincompatible-pointer-types is less then ideal but it fixing all the
bad code should be done on fast and popular clang archs first.

With and OK tb@, sthen@, jca@

Reply via email to