MCUXpresso: Syntax error indicated where this is none.

cancel
Showing results for 
Search instead for 
Did you mean: 

MCUXpresso: Syntax error indicated where this is none.

53 Views
Contributor IV

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

Labels (1)
0 Kudos
1 Reply

15 Views
NXP TechSupport
NXP TechSupport

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 Kudos