Re: [yocto] [meta-raspberrypi][PATCH] omxplayer: fix compilation with GCC 6

2016-06-14 Thread Andrei Gherzan
Hi, On Wed, Jun 08, 2016 at 12:57:13AM +1000, Jonathan Liu wrote: > Specifying -isystem${STAGING_DIR_HOST}/usr/include in INCLUDES gives: > > In file included from utils/PCMRemap.cpp:26:0: > .../build/tmp/sysroots/raspberrypi2/usr/include/c++/6.1.1/cstdlib:75:25: > fatal error: stdlib.h:

[yocto] [meta-raspberrypi][PATCH] omxplayer: fix compilation with GCC 6

2016-06-07 Thread Jonathan Liu
Specifying -isystem${STAGING_DIR_HOST}/usr/include in INCLUDES gives: In file included from utils/PCMRemap.cpp:26:0: .../build/tmp/sysroots/raspberrypi2/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next