Compilation Failure in Master

Scott Kostyshak skostysh at lyx.org
Fri May 16 12:08:02 UTC 2025


On Fri, May 16, 2025 at 12:02:41PM +0200, Jean-Marc Lasgouttes wrote:
> 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.

Kornel, any thoughts on this?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250516/b019a890/attachment.sig>


More information about the lyx-devel mailing list