Skip to main content
Associate III
Nov 27, 2024 9:07 AM UTC
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
Nov 27, 2024 9:58 AM UTC

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
Nov 27, 2024 9:17 AM UTC

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
Nov 27, 2024 9:19 AM UTC

(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.