Wind River Support Network

HomeDefectsLIN6-9130
Fixed

LIN6-9130 : Fix aggressive-loop-optimizations warning in samhain

Created: Dec 30, 2014    Updated: Dec 3, 2018
Resolved Date: Dec 31, 2014
Found In Version: 6.0.0.15
Fix Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

1: create a project :configure --enable-board=cav-octeon3 --enable-rootfs=glibc_cgl --enable-kernel=cgl
2: 
x_sh_getopt.c: In function 'sh_getopt_usage':
| x_sh_getopt.c:678:26: warning: statement may be undefined in the final loop iteration. [-Waggressive-loop-optimizations]
|    for (i = 0; op_table[i].longopt != NULL; ++i) {
|                           ^

Other Downloads


Live chat
Online