The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Релиз набора компиляторов GCC 14"
Версия для распечатки Пред. тема | След. тема
Форум Разговоры, обсуждение новостей
Исходное сообщение [ Отслеживать ]
Заметили полезную информацию ? Пожалуйста добавьте в FAQ на WIKI.
. "Релиз набора компиляторов GCC 14" –1 +/
Сообщение от Аноним (13), 07-Май-24, 15:19 
What changed?

All of these were either invalid in C99, invalid even in C89, or extremely dubious. Compilers just tolerated them as quasi-extensions until now to avoid disruption.

    Clang 15 makes the following errors by default:
        -Werror=int-conversion

    Clang 16 (released March 2023) makes the following errors by default:
        -Werror=implicit-function-declaration
        -Werror=implicit-int
        -Werror=incompatible-function-pointer-types (GCC does not have a specific equivalent error (PR109835), use -Werror=incompatible-pointer-types instead when testing)

    GCC 14 (to be released appx. April/May 2024) makes the following errors by default:
        -Werror=int-conversion
        -Werror=implicit-function-declaration
        -Werror=implicit-int
        -Werror=incompatible-pointer-types
        -Werror=return-mismatch ('new' warning in GCC 14, split out from -Wreturn-type)
        -Werror=declaration-missing-parameter-type (new warning in GCC 14)

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Релиз набора компиляторов GCC 14, opennews, 07-Май-24, 14:26  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру