astroscrappy
astroscrappy copied to clipboard
astroscrappy fails to build with gcc15
In Fedora Linux we are compiling astroscrappy with the new GCC15, that by default uses C23 dialect for C.
The problem is that bool, true and false are reserved words in C23, so constructions like the following are ilegal:
https://github.com/astropy/astroscrappy/blob/3a792c8388835d591fe71bb734e8ac5b2b8169d8/astroscrappy/utils/imutils.h#L18-L21
https://gcc.gnu.org/gcc-15/porting_to.html#c23