Skip to main content
chriskuku
Senior II
April 8, 2025
Question

Add Compiler Options; Find reason for yellow warning exclamation mark

  • April 8, 2025
  • 1 reply
  • 1143 views

Split from  https://community.st.com/t5/stm32cubeide-mcus/warning-in-build-stm32cubeide-1-18-0-load-segment-with-rwx/td-p/788554 


Since I have a yellow exclamation mark sticking at the project icon I would like to see if it disappears when I add the CFLAG:

--no-warn-rwx-segments

in the makefile. The Debug/makefile contains a bunch of flags but misses the CFLAG which I assume to be burried in one of the includes (makefile.init, makefile.defs). Only, I cannot finde these included files. Can anyone help?

And how can I find out about the reason for the yellow exclamation mark? I was used to find this propagating downstream in the tree view attached to other files. But I don't see any "smudged" file.

1 reply

Andrew Neil
Super User
April 8, 2025

You can add flags in the Project settings Properties here:

AndrewNeil_0-1744097796234.png

 


@chriskuku wrote:

how can I find out about the reason for the yellow exclamation mark? 


If you hover your mouse over it, it should show the warning.

Also look in the Console output window.

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.
chriskuku
chriskukuAuthor
Senior II
April 8, 2025

Project Settings, name it better "Project Properties" - hard to find. Rightclick on the project in the tree view.
Click on Properties. The one finds C/C++ Build.

It's not in the Preferences menu item (macOS)

Andrew Neil
Super User
April 8, 2025

@chriskuku wrote:

Project Settings, name it better "Project Properties" 


Indeed - post corrected

AndrewNeil_0-1744099991036.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.