Участник:FrBrGeorge

Материал из ALT Linux Wiki

Георгий Курячий

george@

regexp

Tag Описание Параметр
Old bool До C23 bool надо определять самому (скорее всего, #include <stdbool.h>)
error: unknown type name 'bool'
GCC 15 K&R «Определения» функций без типов параметров в стиле K&R — int function() теперь трактуются как функции без параметров — int function(void)
error: too many arguments to function.*; expected 0
from incompatible pointer type .*[(]void[)]
error: (initialization of|assignment to) .*[(]void[)]. from incompatible
note: expected .* but argument is of type.*[(]void[)]
gcc -Werror Пакет собираетя с ключом -Werror, и появились предупреждения
all warnings being treated as errors
C23 Bool Начиная с c23 bool, true и false — это ключевые слова, а в коде их попытались переопределить
error: 'bool'
error: expected .* before '(true|false)
error: cannot use keyword '(true|false)'
GCC const Указатель объявлен как const, а потом в него пришло присваивание
error: assignment of read-only location
GCC return int Функция, объявленная без типа возвращаемого значения в стиле function(), должна возвращать int
error: return type defaults to 'int'
Gettext m4 Gettext 1.0+ сильно поменял пути по умолчанию к макросам
error: possibly undefined macro:.*(GETTEXT|ICONV)
found more than one invocation of AM_GNU_GETTEXT_VERSION
msgfmt: found .* fatal error