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. <br>
<br>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.)<br>
<br><div class="gmail_quote">On Fri, Apr 16, 2010 at 4:55 PM, caio <span dir="ltr"><<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Yes, I do running current.. and gcc is v4.4.3.<br>
What do you recommend, downgrade gcc or stop using current, or what? I<br>
think this time was gtkmm but maybe in a few days another app will<br>
complains about it too.<br>
<font color="#888888"><br>
Caio<br>
</font><div><div></div><div class="h5"><br>
On Fri, Apr 16, 2010 at 5:41 PM, B Watson <<a href="mailto:yalhcru@gmail.com">yalhcru@gmail.com</a>> wrote:<br>
> On 4/16/10, caio <<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a>> wrote:<br>
><br>
>> But when I want to compile gtkmm (v2.14.3), it complains with:<br>
>><br>
>> recentinfo.cc:192: error: invalid conversion from 'gchar**' to 'const<br>
>> gchar**'<br>
>> recentinfo.cc:192: error: initializing argument 3 of 'gboolean<br>
>> gtk_recent_info_get_application_info(GtkRecentInfo*, const gchar*,<br>
>> const gchar**, guint*, time_t*)'<br>
><br>
> That looks like the sort of thing that happens when your gcc is newer<br>
> than the one the code was tested with... Are you running -current by<br>
> any chance? (SBo scripts aren't necessarily tested for -current)<br>
> _______________________________________________<br>
> SlackBuilds-users mailing list<br>
> <a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
> <a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
> Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
> FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
><br>
><br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</div></div></blockquote></div><br>