Thanks for the quick fix, apparently there's another issue.
Please see:
https://kojipkgs.fedoraproject.org//work/tasks/905/128580905/build.log

../lib/src/libset.c:1223:6: error: conflicting types for 'set_workdir_callback'; have 'void(int (*)(char *))'
 1223 | void set_workdir_callback (int (*callback)(char *s))
      |      ^~~~~~~~~~~~~~~~~~~~
In file included from ../lib/src/libset.c:23:
../lib/src/libset.h:250:6: note: previous declaration of 'set_workdir_callback' with type 'void(int (*)(void))'
  250 | void set_workdir_callback (int (*callback)());
      |      ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:329: libset.lo] Error 1
make[1]: *** Waiting for unfinished jobs....

I hope it's also easily solvable, not sure if there are similar issues throughout, but can of course report back :)

Johannes


On 28/01/2025 20:23, Cottrell, Allin wrote:
Thanks for the heads-up, Johannes. I've renamed the 'bool' identifier
in libgretl's boxplot code, in git and also the snapshot at
https://sourceforge.net/projects/gretl/files/snapshots/gretl-source.tar.xz

Please let us know if there are any remaining C23 no-no's.

Allin Cottrell

On Tue, Jan 28, 2025 at 1:12 PM Johannes Lips <johannes.l...@gmail.com> wrote:

Dear all,

in the process of the new fedora 42 release, there was a mass rebuild of
all the packages. Since most of the times there's a new gcc release as
well against which the packages are built.
There are often build failures because of this.
Gretl also failed to build and as far as I can see it's because
the default C standard in GCC 15 is C23, and C23 has three new keywords:
`bool`, `true`, and `false`.

https://kojipkgs.fedoraproject.org//work/tasks/3696/128383696/build.log

Build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=128383696

It would be really great if we could fix that upstream, otherwise I will
try to create a patch and/or try to compile it with an older C standard.

Thanks a lot in advance!

Best regards,
Johannes
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to