[Lsb-infrastructure] headertodb2: complicated macros truncated

Wichmann, Mats D mats.d.wichmann at intel.com
Thu Jul 17 11:22:26 PDT 2008


If the "value" of the macro contains a semicolon,
it seems that the text from the semicolon on is dropped.

So, for example, for:

#define XextCheckExtension(dpy,i,name,val) \
  if (!XextHasExtension(i) { XMissingExtension (dpy, name); return val;
}

We get a stored value of:

'if (!XextHasExtension(i) { XMissingExtension (dpy, name)'



More information about the lsb-infrastructure mailing list