Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944070 - =net-dialup/xl2tpd-1.3.18-r2 fails to build c23/gcc-15.0.0_pre20241117-r2: xl2tpd.c:91:35: error: initialization of ‘int (*)(FILE *, char *)’ from incompatible pointer type ‘int (*)(void)’
Summary: =net-dialup/xl2tpd-1.3.18-r2 fails to build c23/gcc-15.0.0_pre20241117-r2: xl...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-20 03:15 UTC by tdr
Modified: 2024-11-20 22:28 UTC (History)
3 users (show)

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


Attachments
build fail log (xl2tpd-1.3.18-r2.build.log,6.72 KB, text/plain)
2024-11-20 03:15 UTC, tdr
Details
emerge --info (xl2tpd-1.3.18-r2.build.log,6.72 KB, text/plain)
2024-11-20 03:16 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-20 03:15:47 UTC
Created attachment 910430 [details]
build fail log

c23 is more strict 
found an incompatible pointer type


xl2tpd.c:91:35: error: initialization of ‘int (*)(FILE *, char *)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types]
   91 |     {CONTROL_PIPE_REQ_LAC_STATUS, &control_handle_lac_status},
      |                                   ^
xl2tpd.c:91:35: note: (near initialization for ‘control_handlers[10].handler’)
Comment 1 tdr 2024-11-20 03:16:38 UTC
Created attachment 910431 [details]
emerge --info