On 10 March 2011 20:35, Drew Goodwin drew@drewgoodwin.com wrote:
- length = MultiByteToWideChar(0, 0, name, -1, NULL, 0)+1;
- {
/* Allocate on the stack */
WCHAR nameW[length];
Oh, and variable length arrays are a C99 feature, Wine tries to mostly stick to C89.
Thanks for the feedback Henri! Andrew Nguyen also gave some comments. We address the issue and resubmit today or over the weekend.
On Fri, Mar 11, 2011 at 7:20 AM, Henri Verbeet hverbeet@gmail.com wrote:
On 10 March 2011 20:35, Drew Goodwin drew@drewgoodwin.com wrote:
- length = MultiByteToWideChar(0, 0, name, -1, NULL, 0)+1;
- {
/* Allocate on the stack */
WCHAR nameW[length];
Oh, and variable length arrays are a C99 feature, Wine tries to mostly stick to C89.