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: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/47215: print/poppler-cpp fails with  error: invalid
 conversion from 'const char**' to 'char**' [-fpermissive]
Date: Mon, 19 Nov 2012 15:05:13 +0100

 On Mon, Nov 19, 2012 at 09:55:00AM +0000, richard.palo%baou.fr@localhost wrote:
 > I was able to patch poppler-global.cpp replacing 'ICONV_CONST char **' with 
 > just 'char **' with as follows (in print/poppler):
 
 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
 


Home | Main Index | Thread Index | Old Index