pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47215: print/poppler-cpp fails with error: invalid conversion from 'const char**' to 'char**' [-fpermissive]
The following reply was made to PR pkg/47215; it has been noted by GNATS.
From: RichardPALO <richard.palo%baou.fr@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: <pkg-manager%netbsd.org@localhost>, <gnats-admin%netbsd.org@localhost>,
<pkgsrc-bugs%netbsd.org@localhost>
Subject: Re: pkg/47215: print/poppler-cpp fails with error: invalid
conversion from 'const char**' to 'char**' [-fpermissive]
Date: Mon, 19 Nov 2012 15:40:36 +0100
--=_dd7ecab05072227961e4993fe76beaf2
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8
> This doesn't look like the right fix, since some platforms
(e.g.
>NetBSD) will need ICONV_CONST to be const.
> Please try to find
out why ICONV_CONST is defined to const on your
> platform instead (when
it shouldn't be, as it seems).
> Thomas
Hmm, doing a global search in
/opt/pkg/include* I notice the following:
richard@devzone:~$ find
/opt/pkg/include -name '*.h' -exec grep ICONV_CONST {} ; -print
#define
DLG_ICONV_CONST const
/opt/pkg/include/dlg_config.h
#define ICONV_CONST
const
/opt/pkg/include/OpenSP/config.h
perhaps the bug is in OpenSP?
--=_dd7ecab05072227961e4993fe76beaf2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<pre>=20
> This doesn't look like the right fix, since some platforms (e.g.
>NetBSD) will need ICONV_CONST to be const.
=20
> Please try to find out why ICONV_CONST is defined to const on your
> platform instead (when it shouldn't be, as it seems).
> Thomas
<br />Hmm, doing a global search in /opt/pkg/include* I notice the follow=
ing:<br /><br />richard@devzone:~$ find /opt/pkg/include -name '*.h' -exec =
grep ICONV_CONST {} \; -print<br />#define DLG_ICONV_CONST const<br />/opt/=
pkg/include/dlg_config.h<br />#define ICONV_CONST const<br />/opt/pkg/inclu=
de/OpenSP/config.h<br /><br />perhaps the bug is in OpenSP?<br /> </pr=
e>
<div> </div>
</body></html>
--=_dd7ecab05072227961e4993fe76beaf2--
Home |
Main Index |
Thread Index |
Old Index