Am Fri, 23 Oct 2020 19:41:48 +0200
schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:

> Le 23/10/2020 à 13:23, Kornel Benko a écrit :
> > Am Fri, 23 Oct 2020 11:51:01 +0200
> > schrieb Kornel Benko <kor...@lyx.org>:
> >   
> >> 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  
> > 
> > Definition of iconv() in the system-header is
> > 
> > extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
> >                       size_t *__restrict __inbytesleft,
> >                       char **__restrict __outbuf,
> >                       size_t *__restrict __outbytesleft);
> > 
> > 
> > Compilation with included (3rdparty) iconv works.  
> 
> Is it related to having a proper definition of macro ICONV_CONST?
> 
> JMarc

No, my failure. See my other mail.

        Kornel

Attachment: pgpWPKAyfG7Ni.pgp
Description: Digitale Signatur von OpenPGP

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

Reply via email to