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

Kang Kai Kai.Kang at windriver.com
Wed Apr 19 02:54:42 UTC 2017


On 2017年04月18日 23:30, Burton, Ross wrote:
>
> On 10 April 2017 at 04:14, <kai.kang at windriver.com 
> <mailto: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.

Thanks, Ross. I'll send a review request for it.


--Kai

>
> Ross


-- 
Regards,
Neil | Kai Kang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170419/8b6f1360/attachment-0002.html>


More information about the Openembedded-core mailing list