Bug 2331208 - epson-inkjet-printer-escpr fails to build with GCC 15 (implicit int param in function prototype)
Summary: epson-inkjet-printer-escpr fails to build with GCC 15 (implicit int param in ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: epson-inkjet-printer-escpr
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: gcc-15-mass-prebuild
TreeView+ depends on / blocked
 
Reported: 2024-12-09 18:50 UTC by Dave Malcolm
Modified: 2025-01-29 20:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-29 20:25:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Malcolm 2024-12-09 18:50:46 UTC
I'm experimentally rebuilding rawhide with the not-yet-released GCC 15 to see if anything breaks, and to help write the porting guide.

In https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-15-smoketest/fedora-rawhide-aarch64/08368364-epson-inkjet-printer-escpr/builder-live.log.gz

I see this build failure:

filter.c: In function ‘main’:
filter.c:380:15: error: too many arguments to function ‘SendStartJob’
  380 |         err = SendStartJob(FALSE);
      |               ^~~~~~~~~~~~
filter.c:49:21: note: declared here
   49 | extern EPS_ERR_CODE SendStartJob ();
      |                     ^~~~~~~~~~~~

GCC 15 defaults to C23, in which I believe the () in a decl now means "void" rather than implicit "int"; see:
https://fedoraproject.org/wiki/User:Dmalcolm/gcc-15#Function_prototypes_with_empty_params_change_from_implicit_%22int%22_to_%22void%22

Hence this looks like an issue with the prototype in filter.c

Reproducible: Always




I didn't check to see if this is fixed upstream yet.

Comment 1 Fedora Admin user for bugzilla script actions 2024-12-10 15:57:02 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Maxwell G 2025-01-29 20:25:14 UTC
Automation has figured out the package is retired in Fedora Rawhide.

If you like it to be unretired, please open a ticket at
https://pagure.io/releng/new_issue?template=package_unretirement


Note You need to log in before you can comment on or make changes to this bug.