[PATCH] d3dx9_36: Filter out D3DCompile warning messages that are not present with D3DCompileShader.

Stefan Dösinger stefandoesinger at gmail.com
Wed Jul 31 04:25:55 CDT 2013


Hi,

Am 31.07.2013 um 09:10 schrieb Christian Costa <titan.costa at gmail.com>:

> +                if (!(strstr(line_out, "warning X3206:") && strstr(line_out, "implicit truncation of vector type")))
> +                    line_out += line_size;
msvc localizes compiler errors and warnings. Are you sure d3dcompiler.dll doesn't do that?

Wrt the parsing code, wouldn't it be nicer to use strtok_r to split the buffer into separate lines?

I am not sure that parsing the errors and warnings like that is a good thing, but I don't know d3dx9 and d3dcompiler well enough to give a final judgement on that.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130731/5bf91861/attachment.html>


More information about the wine-devel mailing list