wcstools and libpasastro have incompatible code with GCC15 c++23. I'm in 
touch with libpasastro developer, while wcstools developer can only be 
reached out via email (but never had reply in previous attempts).

I have managed to write patches to make them use c99 standard and 
workaround the remaining failures, but since that was mostly copy/paste 
from what I've found online, I'd like to have someone to take a look at 
what I've written:

https://mattia.fedorapeople.org/wcstools_fix_gcc15-c++23.patch
https://mattia.fedorapeople.org/libpasastro_fix_gcc15-c++23.patch

Essentially, I've appended '-std=c99 -D_XOPEN_SOURCE=500' to CFLAGS, 
added a few '#include <strings.h>' and added '#define _GNU_SOURCE' to 
fix dateutil. For libpasastro I've also added arguments type to function 
definitions.

The build results are

https://copr.fedorainfracloud.org/coprs/mattia/Astronomy/build/8566438/
https://copr.fedorainfracloud.org/coprs/mattia/Astronomy/build/8566465/

There are still a lot of warnings, but at least they build again. Have I 
done something clearly wrong?

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