Re: Use of C++ Keyword private



Denis Oliver Kropp <dok convergence de> writes:

> Quoting Havoc Pennington (hp redhat com):
> > 
> > Jeff Franks <jcf tpg com au> writes:
> > > 
> > > I don't know if your already aware of this tiny problem but the the
> > > _GdkPixbufLoader structure in gdk-pixbuf-loader.h has a gpointer member
> > > called private. Because private is a C++ keyword the header file won't
> > > compile under C++.
> > > 
> > 
> > Whoops, bad thing. Thanks for the heads up.
> 
> In Gdk there are tons of "private" ;)

Not in the headers.

GTK+ itself must be compiled with a C compiler, not a C++ compiler.

BUt the GTK+ headers are supposed to be able to be used from C++.

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]