On Sat, 19 Jul 2008 13:42:58 +0200
Jean Bréfort <[EMAIL PROTECTED]> wrote:
> Le samedi 19 juillet 2008 à 12:29 +0100, Chris Vine a écrit :
> > This will work with gcc/g++ but it is not standard conforming, as
> > static class functions do not have C linkage, and the C++ standard
> > states that functions otherwise identical with C++ and C linkage are
> > different types.
> > 
> > To be standard conforming you should use a friend function (if it
> > needs access to private data) declared extern "C".
> 
> The extern "C" declaration is not needed.

Are you saying there is a misprint in the C++ standard, or that
with the particular compiler you use it is not necessary?  If the
latter, what part of my post do you disagree with?

Chris

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to