cancel
Showing results for 
Search instead for 
Did you mean: 

Build failing when -mstrict-align option is activated

Jonadem
Visitor

When I activate the option "-mstrict-align" in STM32CubeIDE 1.17, I get "arm-none-eabi-gcc: error: unrecognized command-line option '-mstrict-align'; did you mean '-Wstrict-aliasing'?"

I'm using GNU tools for STM32 12.3.rel1.

1 REPLY 1
Souhaib MAZHOUD
ST Employee

Hello @Jonadem 

Could you please provide more information about your system environment? 

KR, Souhaib