Compilation Failure in Master

Kornel Benko kornel at lyx.org
Fri May 16 08:13:22 UTC 2025


Am Thu, 15 May 2025 17:50:26 +0200
schrieb Scott Kostyshak <skostysh at lyx.org>:

> Do you mean CMake should turn set LYX_EXTERNAL_ICONV passed on the
> version of the compiler?
> 
> I still don't know why it succeeds for me (with the default of
> LYX_EXTERNAL_ICONV=OFF) and not for Riki. Could be different compiler
> versions or could be different othe CMake flags. Kornel does it compile
> successfully (although with warnings) for you?

The only warning I got is with gcc14 for mythes (but not iconv)
CMake Warning:
/usr2/src/lyx/lyx-test/3rdparty/mythes/1.2.5/mythes.cxx:247:25: warning: ‘char*
__builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’ output
truncated before terminating nul copying as many bytes from a string as its length
[-Wstringop-truncation] /usr2/src/lyx/lyx-test/3rdparty/mythes/1.2.5/mythes.cxx:249:25:
warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long
unsigned int)’ specified bound depends on the length of the source argument
[-Wstringop-truncation]

No warnings with gcc13

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250516/9b470914/attachment.sig>


More information about the lyx-devel mailing list