Re: dxdiag: Add code for XML information output

2011-06-15 Thread Andrew Nguyen
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 construc

re: dxdiag: Add code for XML information output

2011-06-14 Thread Dan Kegel
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 inf