On 06/14/2011 12:18 PM, Dan Kegel wrote:
Isn't Wine was supposed to avoid non-static struct initializers?
I think it'll get warning: initializer element is not computable at
load time with --std=c89 --pedantic.
I believe you're right, and I've sent a patch that avoids the construct.
Andrew Nguyan's commit,
http://www.winehq.org/pipermail/wine-cvs/2011-June/078592.html
used the construct
static BOOL output_xml_information(struct dxdiag_information
*dxdiag_info, const WCHAR *filename)
{
const struct information_block
{
const WCHAR *tag_name;
struct