cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add the [-Wenum-conversion] warning check?

mich35
Associate III

Hello,

How can I add the [-Wenum-conversion] warning check?

If I check the "Warn for implicit conversion (-Wconsersion) I have many warnings from ST originated files (stm32l4xx.h) so I can not use this option....

Best regards

Mich

 

1 ACCEPTED SOLUTION

Accepted Solutions

Without the square brackets ?

View solution in original post

4 REPLIES 4

In general, you can add any arbitrary options here:

AndrewNeil_0-1732699058702.png

 

(never mind)

Do you have any idea how to set this option because if I only wrote [-Wenum-conversion] in the other flags of the miscellaneous, i have the result:

arm-none-eabi-gcc: warning: [-Wenum-conversion]: linker input file unused because linking not done

Without the square brackets ?