Il 19/01/25 18:23, Michael J Gruber ha scritto:
> Mattia Verga via devel venit, vidit, dixit 2025-01-19 18:19:24:
>> I see several of my packages are FTB in the running mass rebuild due to
>> something like:
>>
>> error: too many arguments to function ‘DoInterlace’; expected 0, have 1
>>
>> Is that due to GCC 15, or is due to some "hardening" setting applied to
>> Fedora flags? Should I start filing bugs upstream?
> I don't mind guessing, but you're not giving us much for an "educated"
> guess ...
>
> Most probably, it's f() which used to be taken as f(int) when it is
> f(void) now but f(int) is used.
>
> Michael

For example:

https://kojipkgs.fedoraproject.org//work/tasks/7044/127997044/build.log

I don't know much of C, from what I've read online those functions are 
declared without arguments and then used with arguments. It seems this 
is now throwing an error, while before the mass rebuild just worked:

/builddir/build/BUILD/libahp-gt-1.7.0-build/libahp-gt-1.7.0/ahp_gt.c: In 
function ‘synscan_poll’:
/builddir/build/BUILD/libahp-gt-1.7.0-build/libahp-gt-1.7.0/ahp_gt.c:541:17: 
error: too many arguments to function ‘ahp_gt_get_tracking_mode’; 
expected 0, have 1
   541 |                 ahp_gt_get_tracking_mode(cmd[0]);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
In file included from 
/builddir/build/BUILD/libahp-gt-1.7.0-build/libahp-gt-1.7.0/ahp_gt.c:26:
/builddir/build/BUILD/libahp-gt-1.7.0-build/libahp-gt-1.7.0/redhat-linux-build/ahp_gt.h:1037:16:
 
note: declared here
  1037 | DLL_EXPORT int ahp_gt_get_tracking_mode();
       |                ^~~~~~~~~~~~~~~~~~~~~~~~

Mattia


-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to