Compile error

Kornel Benko kornel at lyx.org
Fri Oct 23 09:51:01 UTC 2020


Compiled with --std=c++17

/usr2/src/lyx/lyx-git/src/support/docstream.cpp:280:32: error: invalid conversion from
‘char**’ to ‘const char**’ [-fpermissive] size_t converted = iconv(cd, const_cast<char
ICONV_CONST **>(from), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr2/src/lyx/lyx-git/src/support/docstream.cpp:21:
/BUILD/BUILDMint18/BuildLyxGitQt5.9.5local-gcc8.4.0/libiconv/include/iconv.h:82:48:
note:   initializing argument 2 of ‘size_t libiconv(libiconv_t, const char**, size_t*,
char**, size_t*)’ extern size_t iconv (iconv_t cd, const char* * inbuf, size_t
*inbytesleft, char* * outbuf, size_t *outbytesleft); ~~~~~~~~~~~~~~^~~~~


	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/20201023/8cd63790/attachment.asc>


More information about the lyx-devel mailing list