[Xcb] Another compilation problem...

Ian Osgood iano at quirkster.com
Wed Jul 26 07:22:52 PDT 2006


Your bits are stale.  This code has used XCBNone for a long time now.  
In general, you need to git pull and install xcb-proto, xcb, and xcb- 
util (in that order) whenever anything in xcb changes.

Ian

On Jul 26, 2006, at 5:26 AM, 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
>



More information about the Xcb mailing list