MCUXpresso: Syntax error indicated where this is none.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCUXpresso: Syntax error indicated where this is none.

898 次查看
rshipman
Contributor V

Hi

 

Platform: RT1021

SDK 2.8.0

MCUXpresso v11.2.0

See function: FLEXSPI_NOR_PreEnterOctalMode

File: nor_flash/fsl_flexspi_nor_flash.c

Line 2129

SUPPRESS_FALL_THROUGH_WARNING();

The compiler does not generate a warning or error for this line, but MUCXpresso puts a little yellow '?' icon next to it with the text 'Syntax error'. Thought your MCUXpresso developers would like to know. :-)

Kind regards,

Ronnie

标签 (1)
0 项奖励
回复
1 回复

860 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Ronnie,

 

This seems to be an error caused by little syntax differences in MCUXpresso parser and compiler. Please see this link for more info and how to disable it.

 

https://stackoverflow.com/questions/802410/why-does-eclipse-cdt-say-syntax-error-but-compilation-no-...

 

Best regards,

Felipe

0 项奖励
回复