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 <skost...@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

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to