Compilation Failure in Master

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri May 16 10:02:41 UTC 2025


Le 16/05/2025 à 10:13, Kornel Benko a écrit :
> 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]

Could you set LYX_EXTERNAL_ICONV to on by default, except for windows? 
This is a standard part of Unix.

JMarc


More information about the lyx-devel mailing list