[Slackbuilds-users] inkscape and gtkmm
Ben Mendis
dragonwisard at gmail.com
Fri Apr 16 21:11:37 UTC 2010
If you want to simply avoid issues like this, you should switch back to
Slackware-13. When the next stable version (13.1?) is released SBo's scripts
will be checked against and updated for whatever version of GCC is in that
version.
The fix for this particular issue is relatively simple. Typically it just
involves adding the 'const' modifier to the variable declaration so that the
variable being assigned matches the return type that is being assigned to
it. (See the example in the link I previously sent.)
On Fri, Apr 16, 2010 at 4:55 PM, caio <elcaio at gmail.com> wrote:
> Yes, I do running current.. and gcc is v4.4.3.
> What do you recommend, downgrade gcc or stop using current, or what? I
> think this time was gtkmm but maybe in a few days another app will
> complains about it too.
>
> Caio
>
> On Fri, Apr 16, 2010 at 5:41 PM, B Watson <yalhcru at gmail.com> wrote:
> > On 4/16/10, caio <elcaio at gmail.com> wrote:
> >
> >> But when I want to compile gtkmm (v2.14.3), it complains with:
> >>
> >> recentinfo.cc:192: error: invalid conversion from 'gchar**' to 'const
> >> gchar**'
> >> recentinfo.cc:192: error: initializing argument 3 of 'gboolean
> >> gtk_recent_info_get_application_info(GtkRecentInfo*, const gchar*,
> >> const gchar**, guint*, time_t*)'
> >
> > That looks like the sort of thing that happens when your gcc is newer
> > than the one the code was tested with... Are you running -current by
> > any chance? (SBo scripts aren't necessarily tested for -current)
> > _______________________________________________
> > SlackBuilds-users mailing list
> > SlackBuilds-users at slackbuilds.org
> > http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> > Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> > FAQ - http://slackbuilds.org/faq/
> >
> >
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100416/b2e97788/attachment.htm>
More information about the SlackBuilds-users
mailing list