Skip to main content
Associate III
November 27, 2024
Solved

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

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

 

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
November 27, 2024

Without the square brackets ?

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.

4 replies

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.