[Lsb-infrastructure] some conflicts when running libtodb2

Wichmann, Mats D mats.d.wichmann at intel.com
Wed Jul 16 16:13:35 PDT 2008


When running the get_int_info.pl step of libtodb on libXext,
I see this complaint:

Type collision for name PS_FontInfoRec: Typedef vs Struct
Type collision for name PS_FontInfoRec: Struct vs Typedef
Type collision for name xMbufBufferInfo: Typedef vs Struct
Type collision for name xMbufBufferInfo: Struct vs Typedef
Type collision for name const char *[1]: Const vs Array


The first of these is actually odd in the specdb now:

$ grep PS_FontInfoRec *
Type.init:INSERT INTO `Type` VALUES
(16989,'PS_FontInfoRec','Struct',961,'',NULL,'Unknown','Unknown','Unknow
n',NULL,0,0,'libfreetype',0);
Type.init:INSERT INTO `Type` VALUES
(16990,'PS_FontInfoRec','Typedef',961,'',NULL,'Unknown','Unknown','No',N
ULL,0,0,'libfreetype',0);

That is, there are already two entries for it.  This is
presumably due to the odd definition:

typedef struct  PS_FontInfoRec {
<snip>
} PS_FontInfoRec, *PS_FontInfo;


xMbufBufferInfo is similar, even though it's not something
subject to this import it's still in the library so it's
seen, I guess (this one is not in the DB now):

typedef struct xMbufBufferInfo {
<snip>
} xMbufBufferInfo;


Not as sure about the final one.




 


More information about the lsb-infrastructure mailing list