Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931632 - sys-process/atop-2.10.0-r1[modules] fails to compile with GCC-14: error: a function declaration without a prototype
Summary: sys-process/atop-2.10.0-r1[modules] fails to compile with GCC-14: error: a fu...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-09 14:05 UTC by NHO
Modified: 2024-05-12 18:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,23.88 KB, text/x-log)
2024-05-09 14:06 UTC, NHO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2024-05-09 14:05:54 UTC
/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

and so on

Reproducible: Always
Comment 1 NHO 2024-05-09 14:06:53 UTC
Created attachment 892615 [details]
build.log