[Xcb] Another compilation problem...
Barton C Massey
bart at cs.pdx.edu
Wed Jul 26 06:10:54 PDT 2006
It seems clear that it's time for someone to set up nightly
tinderbox builds of XCB plus some minimal test suite. Any
takers?
Bart
In message <Pine.LNX.4.44.0607260908360.25073-100000 at groucho.unet.brandeis.edu> you wrote:
> I think "None" is left over from when we included some xlib headers.
>
> Jeremy
>
> On Wed, 26 Jul 2006, Vincent Torri wrote:
>
> >
> > hey
> >
> > try with XCBNone (which is 0), instead of None, please
> >
> > Vincent
> >
> > On Wed, 26 Jul 2006, Shakaa wrote:
> >
> > > Hi,
> > >
> > > I'm encountering another compilation problem when i try to build xcb-util
> > >
> > > This is what i got :
> > >
> > > atoms.gperf: In function 'InternAtomPredefined':
> > > atoms.gperf:229: error: 'None' undeclared (first use in this function)
> > > atoms.gperf:229: error: (Each undeclared identifier is reported only once
> > > atoms.gperf:229: error: for each function it appears in.)
> > > atoms.gperf: In function 'InternAtomFast':
> > > atoms.gperf:239: error: 'None' undeclared (first use in this function)
> > >
> > > The problem seems to be in the atom directory...
> > >
> > > In file atoms.c there is :
> > >
> > > 595 XCBATOM InternAtomPredefined(CARD16 name_len, const char *name)
> > > 596 {
> > > 597 const struct atom_map *value = in_word_set(name, name_len);
> > > 598 XCBATOM ret = { None };
> > >
> > > and
> > >
> > > 608 if((cookie.u.atom = InternAtomPredefined(name_len, name)).xid !=
> > > None)
> > >
> > > "None" is apparently undifined, i didn't find it elsewhere.... Where is it ?
> > > I temporarily replaced None with 0 and it's "ok" but i don't think a good
> > > thing....
> > > _______________________________________________
> > > Xcb mailing list
> > > Xcb at lists.freedesktop.org
> > > http://lists.freedesktop.org/mailman/listinfo/xcb
> > >
> > > --
> > > Ce message a été vérifié par MailScanner
> > > pour des virus ou des polluriels et rien de
> > > suspect n'a été trouvé.
> > > Message délivré par le serveur de messagerie de l'Université d'Evry.
> > >
> > >
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
More information about the Xcb
mailing list