Re: "private" in glib.h





Owen Taylor wrote:

> Sebastian Wilhelmi <wilhelmi@ira.uka.de> writes:
>
> > Martynas Kunigelis wrote:
> > >
> > > The latest glib.h from CVS has "private" all over the place and this
> > > obviously stops it from compiling under C++, thus Gtk-- is broken :(
> >
> > I'll fix gmutex.c and glib.h.
> >
> > I think Owen will care for giochannel.c, will you?
>
> Just to point out, there is no reason to worry about 'private'
> (or 'class', or 'id') in a .c files, just in .h files.

Unless someone want's to compile it to check it against the
stricter C++ standards. Also, I've seen variables used in
.c code migrate into the headers frequently enough to be
a problem.




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