[PATCH] GdiPlus: Add GdipCreateLineBrushFromRectWithAngle tests and fix compat

Vincent Povirk madewokherd at gmail.com
Wed Sep 20 11:18:28 CDT 2017


This causes warnings:

../../../../dlls/gdiplus/tests/brush.c: In function
‘test_createLineBrushFromRectWithAngle’:
../../../../dlls/gdiplus/tests/brush.c:85:5: warning: ISO C90 forbids
mixed declarations and code [-Wdeclaration-after-statement]
     GpRectF rect2 = { 1, 3, -1, -2 };
     ^
../../../../dlls/gdiplus/tests/brush.c:108:5: warning: ISO C90 forbids
mixed declarations and code [-Wdeclaration-after-statement]
     GpRectF rect3 = { 1, 3, 0, 1 };
     ^
../../../../dlls/gdiplus/tests/brush.c:112:5: warning: ISO C90 forbids
mixed declarations and code [-Wdeclaration-after-statement]
     GpRectF rect4 = { 1, 3, 1, 0 };
     ^



More information about the wine-devel mailing list