在Linline版本中,在内联强制转换为struct之后对struct成员的赋值失败> 4.4?

时间:2013-01-06 20:14:57

标签: android compiler-errors kernel arm cross-compiling

为什么以下内核源代码:

((struct fb_var_screeninfo) (s5ptv_status.fb->var)).bits_per_pixel =
    ((struct fb_var_screeninfo) (fb->var)).bits_per_pixel;

在2010q1和Linaro工具链v4.4中的GNU ARM工具链中正常编译,但在使用Linaro工具链v4.5或v4.6时失败并出现以下错误?

drivers/media/video/samsung/tv20/s5p_stda_grp.c:614:12: error: lvalue required as left operand of assignment

有什么东西从4.4变为4.5,导致这种语法无效吗?

0 个答案:

没有答案