Summary: | net-dialup/ppp-2.4.9-r8 fails to compile (CLANG-STRICTER-SYSTEM): mplscp.c:42:3: error: incompatible function pointer types initializing int ()(fsm , u_char , int, int) (aka int ()(struct fsm , unsigned char , int, int)) with an expression of type int (f | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 464270342 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | fixed in 2.5.0-r7 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 941869 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 842329 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ./configure: line 10: CC: command not found ./configure: line 23: CFLAGS: command not found mplscp.c:42:3: error: incompatible function pointer types initializing 'int (*)(fsm *, u_char *, int, int)' (aka 'int (*)(struct fsm *, unsigned char *, int, int)') with an expression of type 'int (fsm *, u_char *, int)' (aka 'int (struct fsm *, unsigned char *, int)') [-Werror,-Wincompatible-function-pointer-types] *** Bug 902855 has been marked as a duplicate of this bug. *** Is this still the case with more recent versions? (In reply to Andreas K. Hüttel from comment #4) > Is this still the case with more recent versions? All versions in the tree build with gcc-14 and clang-18. |