New gcc 14 throws errors on 32bit architecutures due C99 violations
Dr. Werner Fink
werner at suse.de
Fri Aug 16 10:12:50 CEST 2024
Hi,
with new gcc 14 I have a bug report here for the latest build queues with lines like:
pdftexini.c: In function 'loadfmtfile':
pdftexini.c:4016:25: error: assignment to 'boolean *' {aka 'int *'} from incompatible pointer type 'internalfontnumber ' {aka 'long int *'} [-Wincompatible-pointer-types]
4016 | pdffonthasspacechar = xmallocarray ( internalfontnumber , fontmax ) ;
| ^
pdftexini.c: In function 'mainbody':
pdftexini.c:5569:27: error: assignment to 'boolean *' {aka 'int *'} from incompatible pointer type 'internalfontnumber ' {aka 'long int *'} [-Wincompatible-pointer-types]
5569 | pdffonthasspacechar = xmallocarray ( internalfontnumber , fontmax ) ;
| ^
Currently the work around is to use
-Wno-error=incompatible-pointer-types
but IMHO a extended change file would be more sufficient I guess.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20240816/92408c7e/attachment.sig>
More information about the tex-live
mailing list.