Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887457 - [guru] dev-lisp/PSL-6.1_p20210604 fails to compile (CLANG-STRICTER-SYSTEM): lisp2.c:849:13: error: parameter c was not declared, defaults to int; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Summary: [guru] dev-lisp/PSL-6.1_p20210604 fails to compile (CLANG-STRICTER-SYSTEM): l...
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-20 14:32 UTC by Agostino Sarubbo
Modified: 2023-01-13 19:22 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,245.05 KB, text/plain)
2022-12-20 14:32 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-20 14:32:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lisp/PSL-6.1_p20210604 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-20 14:32:17 UTC
Created attachment 844173 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-20 14:32:18 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


 warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cr1.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cr1.c:41:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cr1.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cr2.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
crc.c:162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
crc.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cri.c:23:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cri.c:37:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1043:8: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1056:9: warning: passing arguments to 'zedit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1082:8: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1124:8: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1173:17: warning: passing arguments to 'zalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1180:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1219:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1238:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1245:18: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1268:18: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1392:10: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1401:9: warning: passing arguments to 'kalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1442:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1546:18: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1562:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1575:20: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1577:21: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1582:19: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1622:19: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1701:20: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1719:19: warning: passing arguments to 'zinteger' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1735:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1741:9: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1802:9: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1805:9: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1811:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1818:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1828:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1866:12: warning: passing arguments to 'zgarbage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1868:12: warning: passing arguments to 'zgarbage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1873:38: warning: passing arguments to 'zgetpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1878:11: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1883:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1889:11: warning: passing arguments to 'zgarbage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1891:10: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1899:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1906:11: warning: passing arguments to 'zgarbage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1908:10: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1919:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:1941:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2023:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2072:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2136:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2221:13: warning: passing arguments to 'zysuicide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2232:12: warning: passing arguments to 'zysuicide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2235:12: warning: passing arguments to 'zysuicide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2237:12: warning: passing arguments to 'zysuicide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2248:12: warning: passing arguments to 'zysuicide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2252:12: warning: passing arguments to 'zysuicide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2261:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2287:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2301:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2311:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2321:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2339:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2419:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2453:19: warning: passing arguments to 'zredefined' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2511:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2577:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2625:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2742:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:2817:6: lisp1.cwarning: :a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]157
lisp2.c:3544:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:3567:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:6660:17: warning: passing arguments to 'time' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:709:9: warning: passing arguments to 'zerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:849:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:936:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:987:9: warning: passing arguments to 'zedit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lisp2.c:849:13: error: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]