cancel
Showing results for 
Search instead for 
Did you mean: 

Build failing when -mstrict-align option is activated

Jonadem
Associate

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.