On 16 October 2015 at 06:57, <wenzong....@windriver.com> wrote:

> * Also fix ptest build error caused by global CFLAGS:
>
>   raid6check.c: In function 'check_stripes':
>   raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \
>   in this function [-Werror=maybe-uninitialized]
>

We're now seeing this instead when building the ptest part on poky-lsb
(which turns on more security flags):

raid6check.c: In function 'check_stripes':
raid6check.c:352:2: error: ignoring return value of 'posix_memalign',
declared with attribute warn_unused_result [-Werror=unused-result]
  posix_memalign((void**)&stripe_buf, 4096, raid_disks * chunk_size);
  ^

(http://errors.yoctoproject.org/Errors/Details/21490/)

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to