mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-20 22:18:34 +02:00
Before version 15, GCC had -std=gnu17 as the default. GCC 15 bumped the default to -std=gnu23. One of the changes in C23 is the interpretation of function declaration without parameters (unprototyped declaration). In C17 and before, the unprototyped declaration specified no information on the number and types of arguments. With GCC 15, the declaration of the form int myfunc() is treated the same as int myfunc(void) i.e. the function takes no arguments. This change broke compilation of the module which relied on older interpretation. The broken function, having the unprototyped declaration, actually takes one argument of type ngx_cycle_t *. This commit corrects the function declaration and definition, explicitly specifying the arguments. Closes: https://bugs.gentoo.org/959586 Closes: https://bugs.gentoo.org/959690 Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42954 Closes: https://github.com/gentoo/gentoo/pull/42954 Signed-off-by: Sam James <sam@gentoo.org> |
||
---|---|---|
.. | ||
ngx-brotli | ||
ngx-dav-ext | ||
ngx-echo | ||
ngx-encrypted-session | ||
ngx-eval | ||
ngx-fancyindex | ||
ngx-geoip2 | ||
ngx-headers-more | ||
ngx-iconv | ||
ngx-lua-module | ||
ngx-lua-upstream | ||
ngx-memc | ||
ngx-modsecurity | ||
ngx-set-misc | ||
ngx-srcache | ||
ngx-upload-progress | ||
ngx-vod | ||
ngx-xss | ||
ngx_devel_kit | ||
metadata.xml |