GCC-14 enabled errors on long-deprecated C features, like functions declared without prototype. Clang did it long time ago
netatop fails under this category:
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1041:11: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1041 | gctaskexit()
| ^
| void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1075:11: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1075 | gcsockinfo()
| ^
| void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1285:11: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1285 | gctaskinfo()
| ^
| void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1358:13: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1358 | wipesockinfo()
| ^
| void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1386:13: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1386 | wipetaskinfo()
| ^
| void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1414:13: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1414 | wipetaskexit()
| ^
| void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1727:12: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1727 | init_module()
| ^
| void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1828:15: error: a function declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
1828 | cleanup_module()
| ^
| void
GCC-14 enabled errors on long-deprecated C features, like functions declared without prototype. Clang did it long time ago netatop fails under this category: