[OE-core] [PATCH] libsdl2: disable check gcc -Wdeclaration-after-statement for ppc

Burton, Ross ross.burton at intel.com
Tue Apr 18 15:30:29 UTC 2017


On 10 April 2017 at 04:14, <kai.kang at windriver.com> wrote:

> |   CC     build/SDL_blit_N.lo
> | .../tmp/work/ppc7400-wrs-linux/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/SDL_blit_N.c:
> In function 'calc_swizzle32':
> | .../tmp/work/ppc7400-wrs-linux/libsdl2/2.0.5-r0/SDL2-2.
> 0.5/src/video/SDL_blit_N.c:127:5: error: ISO C90 forbids
> | mixed declarations and code [-Werror=declaration-after-statement]
> |      const vector unsigned char plus = VECUINT8_LITERAL(0x00, 0x00,
> 0x00, 0x00,
> |      ^~~~~
>

Upstream has already fixed this: http://hg.libsdl.org/SDL/rev/5184186d4366.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170418/34325695/attachment-0002.html>


More information about the Openembedded-core mailing list