How can I add the [-Wenum-conversion] warning check?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 1:07 AM
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
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 1:58 AM - edited ‎2024-11-27 1:59 AM
Without the square brackets ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 1:17 AM - edited ‎2024-11-27 1:20 AM
In general, you can add any arbitrary options here:
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 1:19 AM - edited ‎2024-11-27 1:21 AM
(never mind)
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 1:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 1:58 AM - edited ‎2024-11-27 1:59 AM
Without the square brackets ?
A complex system designed from scratch never works and cannot be patched up to make it work.
