Skip to main content
Associate III
November 27, 2024
Solved

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

  • November 27, 2024
  • 1 reply
  • 1006 views

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

 

Best answer by Andrew Neil

Without the square brackets ?

1 reply

Andrew Neil
Super User
November 27, 2024

In general, you can add any arbitrary options here:

AndrewNeil_0-1732699058702.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
November 27, 2024

(never mind)

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.