typographystyle = useLineStyle = trueuseLineStyleheightOnly = true warning nested designators are a C99 extension -Wc99-designator 如何修改?
这是一条编译器警告,表示使用了C99标准的嵌套设计符号扩展。如果您想要消除这个警告,可以尝试使用更传统的方式来初始化结构体的成员,例如:
.typographystyle.useLineStyle = true;
.typographystyle.useLineStyle.heightOnly = true;
或者,您也可以将编译器的警告级别降低,以忽略这个警告。具体的方法取决于您使用的编译器和开发环境。
原文地址: https://www.cveoy.top/t/topic/fIJx 著作权归作者所有。请勿转载和采集!