<div dir="ltr">On Thu, Aug 1, 2013 at 5:18 AM, Sĝren Sandmann <span dir="ltr"><<a href="mailto:sandmann@cs.au.dk" target="_blank">sandmann@cs.au.dk</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There is now an 0.30 branch, and I'm planning to release 0.30.2 soon. If<br>
anyone knows of something that should go in that isn't in 0.30 already,<br>
let me know, or just cherry-pick it to 0.30 yourself.<br>
<br>
Andrea, if you want the MSVC test fix in, you should push it to master<br>
and 0.30 very soon.<br></blockquote><div><br></div><div>Pushed (thank you for the reminder!).<br><br></div><div>Andrea<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Sĝren<br>
<br>
<br>
Andrea Canciani <<a href="mailto:ranma42@gmail.com">ranma42@gmail.com</a>> writes:<br>
<br>
> The MSVC compiler is very strict about variable declarations after<br>
> statements.<br>
><br>
> Move all the declarations of each block before any statement in the<br>
> same block to fix multiple instances of:<br>
><br>
> alpha-loop.c(XX) : error C2275: 'pixman_image_t' : illegal use of this<br>
> type as an expression<br>
> ---<br>
> test/alpha-loop.c | 7 ++++---<br>
> 1 file changed, 4 insertions(+), 3 deletions(-)<br>
><br>
> diff --git a/test/alpha-loop.c b/test/alpha-loop.c<br>
> index eca7615..4d4384d 100644<br>
> --- a/test/alpha-loop.c<br>
> +++ b/test/alpha-loop.c<br>
> @@ -8,6 +8,7 @@<br>
> int<br>
> main (int argc, char **argv)<br>
> {<br>
> + pixman_image_t *a, *d, *s;<br>
> uint8_t *alpha;<br>
> uint32_t *src, *dest;<br>
><br>
> @@ -17,9 +18,9 @@ main (int argc, char **argv)<br>
> src = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * 4);<br>
> dest = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * 4);<br>
><br>
> - pixman_image_t *a = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, (uint32_t *)alpha, WIDTH);<br>
> - pixman_image_t *d = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, dest, WIDTH * 4);<br>
> - pixman_image_t *s = pixman_image_create_bits (PIXMAN_a2r10g10b10, WIDTH, HEIGHT, src, WIDTH * 4);<br>
> + a = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, (uint32_t *)alpha, WIDTH);<br>
> + d = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, dest, WIDTH * 4);<br>
> + s = pixman_image_create_bits (PIXMAN_a2r10g10b10, WIDTH, HEIGHT, src, WIDTH * 4);<br>
><br>
> fail_after (5, "Infinite loop detected: 5 seconds without progress\n");<br>
</blockquote></div><br></div></div>