Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943722 - =dev-tcltk/blt-2.5.3-r3 fails with =gcc-15.0.0_pre20241117: bltSpline.c:973:11: error: too many arguments to function ‘proc’
Summary: =dev-tcltk/blt-2.5.3-r3 fails with =gcc-15.0.0_pre20241117: bltSpline.c:973:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 07:50 UTC by tdr
Modified: 2024-11-24 23:31 UTC (History)
2 users (show)

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


Attachments
emerge --info (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-18 07:51 UTC, tdr
Details
build failure log (blt-2.5.3-r3:20241118-074755.build.log,154 bytes, text/plain)
2024-11-18 07:52 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-18 07:50:47 UTC
gcc-15.0.0_pre20241117 default to using -std=gnu23 (stricter)


Reproducible: Always

Actual Results:  
bltSpline.c:973:11: error: too many arguments to function ‘proc’
  973 |     if (!(*proc) (origPts, nOrigPts, intpPts, nIntpPts)) {
      |          ~^~~~~~

Expected Results:  
emerge =gcc-15.0.0_pre20241117
=dev-tcltk/blt-2.5.3-r3


works with gcc:15.0.0_pre20241110
Comment 1 tdr 2024-11-18 07:51:12 UTC
Created attachment 908935 [details]
emerge --info
Comment 2 tdr 2024-11-18 07:52:21 UTC
Created attachment 908936 [details]
build failure log
Comment 3 Larry the Git Cow gentoo-dev 2024-11-24 23:31:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391d51562932a29a91cc46d715a35031a2a536e9

commit 391d51562932a29a91cc46d715a35031a2a536e9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-24 23:30:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-24 23:30:31 +0000

    dev-tcltk/blt: build w/ -std=gnu17
    
    Already using a tonne of patches.
    
    Closes: https://bugs.gentoo.org/943722
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-tcltk/blt/blt-2.5.3-r3.ebuild | 3 +++
 1 file changed, 3 insertions(+)