[gcompris-devel] Performance issues

Terje Bergström terje at terje.fi
Mon Oct 1 05:17:27 UTC 2007


On 9/30/07, Bruno Coudoin <bruno.coudoin at free.fr> wrote:
>
> Le dimanche 30 septembre 2007 à 17:57 +0300, Terje Bergström a écrit :
> > +  GNOME_TYPE_CANVAS_POLYGON();
> The last line does'nt compile on my side:
> gcompris.c:1916: erreur: called object «gnome_canvas_polygon_get_type()"
> is not a function


Sorry, should be without parantheses. The Debian diff got outdated and I
copy pasted from there.

Why do you make dummy volatile ?


Sometimes compilers optimize away variables and adding volatile makes gcc
not to do that. I could try without.

Terje
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20071001/7de05914/attachment.html>


More information about the Gcompris-devel mailing list